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

     1  <xsl:stylesheet version="1.0"
     2                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     3                xmlns="http://www.w3.org/TR/xhtml1/strict"
     4                xmlns:tst="http://example.org/">
     5  
     6  <xsl:template match="tst:doc|doc">
     7  success
     8  <xsl:text>name=</xsl:text>
     9  <xsl:value-of select="name(.)"/>
    10  <xsl:text>
    11  local-name=</xsl:text>
    12  <xsl:value-of select="local-name(.)"/>
    13  </xsl:template>
    14  </xsl:stylesheet>