开发者

How to print a document's content to the debug output?

I see that in the XSL there is an instruction that prints some text to the debug output console.

<xsl:message>
    SOME MESSAGES
</xsl:message>

How can I print the whole document's content to开发者_开发技巧 the console?


Try

<xsl:message>
  <xsl:copy-of select="/"/>
</xsl:message>

or simply

<xsl:message select="/"/>

Which XSLT 2.0 procesor do you use?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜