github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/docs/bug-63.xml (about)

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