Re: messing about with XSLT
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
>>>=20
>>=20
>> My trick is to put the XSLT line number in the message, which serves
>> the same purpose.
> using {saxon:line-bumber()} ?
>=20
Just hard coded:
<xsl:comment>(L623)</xsl:comment>
It doesn't matter if it drifts off a bit, it's only intended to be temporar=
y 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 certai=
nly an option. Usually, though, the thing I want to know is "where in the s=
tylesheet did this part of the output come from?"
Michael Kay
Saxonica
--~----------------------------------------------------------------
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]
--~--