xsl-list
[Top] [All Lists]

RE: number continuation problem

2003-06-30 07:37:26

Hi all,

A new twist is that there can be many <elseif>'s to an <if> (naturally enough), 
so the data can take the form:

<if/>
<elseif/>
<elseif/>
<elseif/>
<if/>
<elseif/>

Is there a neat trick of getting all following-siblings while they are of a 
certain name (as if they are processed linearly).  

So in the code sample above, on the first <if>, what Xpath would get the three 
following <elseif>'s but not the fourth (as that belongs to the second <if>)?

cheers
andrew  

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/2003
 

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



<Prev in Thread] Current Thread [Next in Thread>