File: illegaltransform.xsl

package info (click to toggle)
xom 1.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,712 kB
  • sloc: xml: 68,724; java: 48,828; makefile: 17
file content (12 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0"?> 
<xsl:stylesheet version="1.0" 
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:pre="http://www.example.com">

  <xsl:template match="/">
    <!-- unavailable extension function is a must signal error;
         processors cannot recover -->
    <root><xsl:value-of select="pre:fn()"/></root>
  </xsl:template>

</xsl:stylesheet>