summaryrefslogtreecommitdiff
path: root/tests/general/bug-151.xsl
blob: e5b9f7317ad26784e8b8d157e7f592f0c9ddb083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<xsl:stylesheet version="1.0"
	      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	      xmlns:ex="http://example.org/">

<xsl:output method="xml"
	      encoding="UTF-8"
	      doctype-public="-//example.org//Example 1.0//EN"/>
 
<xsl:template match="/tst">
  <ex:document xmlns:ex="http://example.org/">
    <xsl:apply-templates match="doc"/>
  </ex:document>
</xsl:template>

</xsl:stylesheet>