Name
xsl:comment
Synopsis
<xsl:comment> <! -- template -- > </xsl:comment>
The xsl:comment
instruction inserts a comment into the result tree.
Contents
The content of xsl:comment
is a template that will be
instantiated to form the text of the comment inserted into the
result tree. The result of instantiating this template should only
be text nodes that do not contain the double hyphen (--
) or end with a hyphen.
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.