[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: messing about with XSLT

Subject: Re: messing about with XSLT
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Mar 2021 17:16:09 -0000
Re:  messing about with XSLT
>> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.