XSLT <xsl:comment> 元素
定義和用法
<xsl:comment> 元素用于在結(jié)果樹(shù)中創(chuàng)建注釋節(jié)點(diǎn)。
語(yǔ)法
<xsl:comment> <!-- Content:template --> </xsl:comment>
屬性
None
實(shí)例
例子 1
<xsl:comment>This is a comment!</xsl:comment>
<xsl:comment> 元素用于在結(jié)果樹(shù)中創(chuàng)建注釋節(jié)點(diǎn)。
<xsl:comment> <!-- Content:template --> </xsl:comment>
None
<xsl:comment>This is a comment!</xsl:comment>