开发者

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

开发者 https://www.devze.com 2023-03-29 13:57 出处:网络
I see that in the XSL there is an instruction that prints some text to the debug output console. <xsl:message>

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

精彩评论

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