summaryrefslogtreecommitdiff
path: root/tests/docs/bug-63.xml
blob: dd4d83574ee4ec00850fad7e45ca8fe5e8a98094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*">
<xsl:for-each select="namespace::*">
<namespace>
<name><xsl:value-of select="name()"/></name>
<uri><xsl:value-of select="."/></uri>
<parent><xsl:copy-of select=".."/></parent>
</namespace>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>