xsl-list
[Top] [All Lists]

Re: [xsl] Need help skipping a child element

2009-03-26 13:34:14
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--