Subject: Re: next sibling
From: "Carmelo" <carmelo@xxxxxxxx>
Date: Tue, 23 Apr 2002 11:29:12 -0400
|
Also make sure you want to use "*". Perhaps you wish to refine
your searh a bit more and use the element name.
Carmelo
----- Original Message -----
From: "Brinkman, Theodore" <Theodore.Brinkman@xxxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 23, 2002 9:44 AM
Subject: RE: next sibling
> I'm an XSLT newbie, but I think if you did <xsl:for-each
> select="*[@testParam = 'yes']"> it would work.
>
> Somebody correct me if I'm wrong.
>
> - Theo
>
> -----Original Message-----
> From: Lea Allison [mailto:Lea.Allison@xxxxxxxxxxxxxx]
> Sent: Tuesday, April 23, 2002 9:34 AM
> To: XSL List (E-mail)
> Subject: next sibling
>
>
> Hi
>
> I am looking for away to jump to the next node in a for-each loop. eg:
>
>
> for-each select="*"
>
> choose
> when test="@testParam = 'yes' "
> DO THIS
>
> otherwise
> skip to next node where @testParam = 'yes' and DO
> THIS
>
> /choose
> /for-each
>
>
> Hope someone can help out
>
> Thanks
>
> Lea
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|