[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Need help skipping a child element


Subject: Re: [xsl] Need help skipping a child element
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 26 Mar 2009 18:33:50 +0100

Fatbob wrote:

I tried doing...

<xsl:for-each select="Cell[position() = (1,2,3,6,7)]">

but that doesn't work.

"doesn't work" does not tell us what happened. Do you get an error as you are using an XSLT 1.0 processor? Then try
<xsl:for-each select="Cell[position() = 1 or position() = 2 or position() = 3 or position() = 6 or position() = 7]">




--

	Martin Honnen
	http://JavaScript.FAQTs.com/


Current Thread
Keywords