| Subject: Re: [xsl] messing about with XSLT From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 21 Mar 2021 17:16:09 -0000 | 
>> My trick is to put the XSLT line number in the message, which serves
>> the same purpose.
> using  {saxon:line-bumber()} ?
>
Just hard coded:
<xsl:comment>(L623)</xsl:comment>
It doesn't matter if it drifts off a bit, it's only intended to be temporary
scaffolding).
But if you want to examine the relationship between input and output, then
inserting the line number of the source using saxon:line-number() is certainly
an option. Usually, though, the thing I want to know is "where in the
stylesheet did this part of the output come from?"
Michael Kay
Saxonica
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] messing about with XSLT, Liam R. E. Quin liam | Thread | Re: [xsl] messing about with XSLT, Sebastien Lemay slem | 
| Re: [xsl] messing about with XSLT, Liam R. E. Quin liam | Date | Re: [xsl] messing about with XSLT, Martin Honnen martin | 
| Month |