File: 2.xsl

package info (click to toggle)
libxml-libxslt-perl 2.003000-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 704 kB
  • sloc: xml: 2,181; perl: 1,227; ansic: 402; makefile: 24
file content (12 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY foo "fooooo!">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html"/>

  <xsl:template match="/">
    <html><body>&foo;<xsl:copy/><xsl:apply-templates/></body></html>
  </xsl:template>

</xsl:stylesheet>