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

Re: Re: following-sibling on attributes

Subject: Re: Re: following-sibling on attributes
From: "Vidar S. Ramdal" <vidar@xxxxxxxx>
Date: Tue, 09 Sep 2003 09:44:13 +0200
22 00 84 00
Som Dimitre Novatchev sa den 09.09.2003 06:25:

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:

              <xsl:value-of select=".."/>

because the current node is an attribute and we want to produce the string
value of the element, that has this attribute.

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

Current Thread


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.
First Name
Last Name
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.