RE: [xsl] number continuation problem

Subject: RE: [xsl] number continuation problem
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Mon, 30 Jun 2003 15:37:26 +0100
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


Current Thread