using xalan line number function with xinclude
Adrian Herscu <[email protected]> Thu, 07 Jul 2011 10:34:12 +0300
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am building a testing framework for my company using Xalan-based XSL with Java backend. In one of my XSL sheets I am using the nodeinfo:line-number() function supplied by Xalan to track line numbers of elements in the input document to elements in a generated report document. Everything worked fine until the input document got too large to be easily manageable. Then, I decided to extract sections of it into subdocuments and reference those by xinclude elements. Now the nodeinfo:line-number() function returns the line number of xinclude element instead of the line number in the referenced document. Obviously not what I looked for... Please help, Adrian. P.S. Also posted on http://stackoverflow.com/questions/6585985/using-xalan-line-number-function-with-xinclude