Re: [xsl] messing about with XSLT

Subject: Re: [xsl] messing about with XSLT
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Mar 2021 17:09:16 -0000
On Sun, 2021-03-21 at 11:34 +0000, Michael Kay mike@xxxxxxxxxxxx wrote:
> > 
> > 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.,
> > 
> 
> My trick is to put the XSLT line number in the message, which serves
> the same purpose.
using  {saxon:line-bumber()} ?

> 
> Michael Kay
> Saxonica
> 
> 

-- 
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org

Current Thread