ZVON > References > XSLT Reference
Go to standard

XPath function: boolean comment ()

Standard excerpt:

The node test comment() is true for any comment node. Examples (xslt:xml): Overview
50:10

Interactive xlab: [xsl:value-of] [xsl:template]