[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] looping, moving through elements??


Subject: Re: [xsl] looping, moving through elements??
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 24 Oct 2003 14:01:12 +0100

> (i thought it would be given 
> "1.1.1.2" as that is the follwing sibling that has 3 dots?)

That's what it would be if I just used following-sibling::ve
the reason for using (.|following-sibling::v) is that the selection
finds the first three-dotter _starting from the current node_
so three dotters are indexed by their own attribute, as you want in this
case.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread