xsl:comment
Creates an XML comment node in the result tree.
<xsl:comment>generated by goxslt</xsl:comment>The comment text is the string value of the body or the select expression. Two consecutive hyphens (--) are not allowed in XML comments — the processor may report an error or escape them.
Attributes
| Attribute | Description |
|---|---|
select |
XPath expression for the comment text. |
Example
<xsl:comment>
Generated on <xsl:value-of select="current-dateTime()"/>
</xsl:comment>