Logging with XSLT

后端 未结 6 1887
逝去的感伤
逝去的感伤 2021-02-06 02:37

How and where could I output log messages for debug and performance purposes during an XSLT transformation?

I guess the simplest method is using express

6条回答
  •  被撕碎了的回忆
    2021-02-06 02:53

    I would suggest using xsl:message if you are in a development environment such as oXygen or Stylus Studio, and using xsl:comment if you are running in the browser. You shouldn't really be debugging your XSLT code in the browser - the browsers I know about are lousy as XSLT debugging tools.

提交回复
热议问题