Re: [xsl] messing about with XSLT

Subject: Re: [xsl] messing about with XSLT
From: "director@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Mar 2021 05:24:24 -0000
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@xxxxxxxxxxxx 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

Current Thread