2013-02-26 38 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

相關問題