2013-02-26 68 views

回答

3

是的,这里有一个XSLT元素:< xsl:comment>。

换做你的描述,你可以使用以下命令:

<!-- Match foo elements in the XML --> 
<xsl:template match="foo"> 
    <xsl:comment>foo</xsl:comment> 
    <foo> 
     <xsl:apply-templates /> 
    </foo> 
</xsl:template> 
+0

非常感谢你:) – Diemauerdk 2013-02-26 15:31:04

相关问题