RE: [xsl] Re: Re: Node Selection List

Subject: RE: [xsl] Re: Re: Node Selection List
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Sat, 21 Feb 2004 20:36:37 +0100
> -----Original Message-----
> From: Andreas L. Delmelle
<snip />
>
> it seems as if you just want the count of *all* preceding ITEM elements
> satisfying the stated condition, which would be
>
>   count( preceding::PARA0[TITLE!='Raging River']/STEP1/ITEM )
>

Hmm. On second though, this would seem to be even more adequately
representing the logic of what you're trying to do

count( preceding::ITEM[ancestor::PARA0[TITLE!='Raging River']] )

Cheers,

Andreas


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


Current Thread