At 11:04 AM 6/11/2003, you wrote:
Abbouh, as Wendell pointed out, XSLT treats with nodes, not tags. I
suppose it
possible that one could trick up the stylesheet to work with strings
returned by
local-name() to correct the offset, but I think it is fair to say that any
solution using XSLT would be very brittle.
Not only that, but if Abbouh is interested in offsets in the result (the
output file), not the source ... it's even worse. It would be quite a trick
for an XSLT stylesheet to know where a given string *will* be when a tree
is serialized....
Cheers,
Wendell
___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
"Thus I make my own use of the telegraph, without consulting
the directors, like the sparrows, which I perceive use it
extensively for a perch." -- Thoreau
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list