|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: my nearest sibling
> when processing <item>, I want to get my paws on the associated > <label>. isn't that from-previous-siblings(label[1]) ? > Is this really trivial and I am being dense? should > "../label[position()]" > work? no. position() returns the position of the node currently under consideration so things like [position()=3] gets the third thing in the node list. [3] is short for [position()=3] so I suppose (without checking or trying it out) that [position()] is short for [position()=position()] which is always true. David 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
|

Cart








