Logging with XSLT

后端 未结 6 1953
逝去的感伤
逝去的感伤 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 03:12

    By looking for a solution to this problem, I ended up implementing a logging mechanism in XSLT in similar fashion to log4j, using mostly xsl:message and pure XSLT 2.x. I took some of the answers in this page as inputs. The library is available here: https://github.com/ukuko/log4xslt

提交回复
热议问题