File: bug-63.xml

package info (click to toggle)
libxslt 1.1.26-6%2Bsqueeze3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 25,624 kB
  • ctags: 5,527
  • sloc: xml: 75,103; ansic: 35,152; sh: 10,261; python: 3,016; makefile: 2,711; perl: 34
file content (13 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (30)
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>