[thelist] Re: [XSL] Testing the next element
MarsHall
evolt at marsorange.com
Thu Oct 17 10:58:01 CDT 2002
On Thursday, October 17, 2002, at 05:42 AM,
thelist-request at lists.evolt.org wrote:
> But I can't figure out the XPath. I've tried:
>
> following-sibling::node()[position()=position()+1]/@selected='true'
> ../*[position()=position()+1]/@selected='true'
Howard...
Try this XPath:
following-sibling::category[1]/@selected='true'
It works for me (with both Sablotron and LibXSLT).
Mars :)
More information about the thelist
mailing list