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

     1  <?xml version= "1.0"?>
     2  <xsl:stylesheet version="1.0"
     3  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     4  
     5  <xsl:template match = "/" > 
     6          <xsl:apply-templates select="//processing-instruction()"/> 
     7          <xsl:apply-templates select="//comment()"/> 
     8          <!-- xsl:apply-templates/--> 
     9  </xsl:template> 
    10  
    11  <xsl:template match = "processing-instruction()" > 
    12          <xsl:value-of select = "concat(name(),' : ',.)" /> 
    13  </xsl:template> 
    14  
    15  <xsl:template match = "comment()" > 
    16          <xsl:text>#########################
    17          </xsl:text> 
    18                  <xsl:value-of select = "." /> 
    19          <xsl:text>
    20  #########################</xsl:text> 
    21  </xsl:template> 
    22  
    23  </xsl:stylesheet>