xsl-list
[Top] [All Lists]

RE: get the first of the following with Attribute equals

2003-02-04 10:24:42
[From:Cedric Claus <claus_cedric(_at_)netcourrier(_dot_)com>]
I want to have only the *first *following with the attribute Type = title or with my test : <xsl:if test="./@position < following::element
[(_at_)type='title']/@position">

I'm having trouble understanding your requirement.

Is it that you want the first element with "paragraph" as the type attribute which follows each 
element with "title" as the type attribute? That seems plain, but what does the <xsl:if> 
element select?

That's got me puzzled. Could you elaborate on your explanation?
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email


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