github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/general/bug-54.xsl (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <xsl:stylesheet
     3          version="1.0"
     4          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     5          xmlns:libxslt="http://xmlsoft.org/XSLT/namespace"
     6          xmlns:test1="http://www.test1.com"
     7          xmlns:test2="http://www.test2.com"
     8          >
     9  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    10  
    11  <xsl:template match="/all/*">
    12          <xsl:for-each select="namespace::*">
    13                  <xsl:copy-of select="."/>
    14          </xsl:for-each>
    15  </xsl:template>
    16  <xsl:template match="/">
    17      <root>
    18      <xsl:apply-templates/>
    19      </root>
    20  </xsl:template>
    21  
    22  </xsl:stylesheet>