github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/general/bug-92.xsl (about) 1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0"> 3 4 <xsl:output method="xml" indent="yes" version="1.0"/> 5 6 <xsl:template match="node()"> 7 <xsl:element name="toto"> 8 <xsl:attribute name="n"> 9 <xsl:value-of select="name()"/> 10 </xsl:attribute> 11 <xsl:apply-templates/> 12 </xsl:element> 13 </xsl:template> 14 15 16 <xsl:template match="text()"/> 17 <xsl:template match="comment()"/> 18 <xsl:template match="processing-instruction()"/> 19 </xsl:stylesheet>