Re: Re: following-sibling on attributes
As you have changed significantly my code and the context it is used in, I cannot answer questions about the behaviour of the new code.
Of course. I initally posted a simplified version of my code as a testcase.
If your question:
is about the code that I posted, the answer is that it must be:
There's the reason, I think. In my rewritten code, the first template matches an element, and then proceeds to call TEXT_ATTRIBUTE_TO_ELEMENT.
And that should imply that the current node is an element.
Thank you very much for your help, I couldn't have made any progress without it.
-- Vidar S. Ramdal <vidar@xxxxxxxx> Idium AS - http://www.idium.no Tlf. +47 22 00 84 00 / Fax: +47 22 00 84 01 A: Top posting. Q: What is the most annoying thing on usenet and in e-mail?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format