This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@virgin-exp.com]
Sent: Tuesday, April 23, 2002 9:34 AM
To: XSL List (E-mail)
Subject: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]