Subject: RE: [xsl] XSLT 2.0: Saxon et. al.: Tracking XML source line numbers From: Justin Johansson <procode@xxxxxxxxxx> Date: Thu, 19 Jul 2007 08:31:59 +0900 |
Thanks again, Michael. Having slept on that one, I realized this morning that your method could be adopted to do exactly just this. >I'd suggest generating a stylesheet that's pure XSLT plus added >my:line-number attributes. Then write a SAX filter which you put between the >XML parser and the XSLT processor, and which feeds Saxon the faked line >numbers from these attributes. > >You certainly don't need to change a line of Saxon code to achieve this: you >can even do it using pure JAXP interfaces. > >Michael Kay Justin Johansson Freelance XML / XSLT / XQuery Developer Australia procode(at)tpg(dot)com(dot)au
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT 2.0: Saxon et. al.: , Michael Kay | Thread | [xsl] XSLT 2.0: Character Output I, Sam Byland |
RE: [xsl] xpath for array of node n, Michael Kay | Date | Re: [xsl] xpath for array of node n, Justin Johansson |
Month |