xsl-list
[Top] [All Lists]

Re: [xsl] messing about with XSLT

2021-03-21 00:24:32
I do as well. I've also developed a habit of wrapping such diagnostic output in a <testDD/>, where DD = the current date. That way I can quickly find both the diagnostic output and the XSLT code that generated it. Children elements label individual parts of the output, e.g.,

<test21>
   <base-uri>file:/c:/SOME%20TEXT.xml</base-uri>
   <x-has-y>true</x-has-y>
</test21>

jk

On 2021-03-20 15:31, Michael Kay mike(_at_)saxonica(_dot_)com wrote:
I often use xsl:comment or xsl:text to add debugging output in
preference to xsl:message - or even literal result elements. It's
often more useful to see these messages interspersed with the real
stylesheet output.

Joel Kalvesmaki
Director, Text Alignment Network
http://textalign.net
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>