Re: messing about with XSLT

"[email protected]" <[email protected]> Sun, 21 Mar 2021 05:24:32 -0000
Newsgroups gmane.text.xml.xsl.general.mulberrytech
Message-ID <[email protected]>
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 [email protected] 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/3329386
or by email: [email protected]
--~--