summaryrefslogtreecommitdiff
path: root/tests/docs/bug-38-.xml
blob: 57d0e820d6dc53e0c1dabdc4142b073bc2e27ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<xsl:stylesheet version="1.0" 
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template name="ns">
 <ns xmlns:ns="http://whatever"/>
</xsl:template>


<xsl:template match="/*">
 <elem>
   <xsl:copy-of select="document('')/*/
		       xsl:template[@name='ns']/
		       ns/namespace::ns"/>
 </elem>
</xsl:template>

</xsl:stylesheet>