xsl-list
[Top] [All Lists]

Re: [xsl] Need help skipping a child element

2009-03-26 15:33:24
My apologies for being rather vague with the "doesn't work".

Yes, I'm using 1.0, and your solution seems to be working like a charm.

Thank you for your help, really appreciate it!

----- Original Message ----- 
From: "Martin Honnen" <Martin(_dot_)Honnen(_at_)gmx(_dot_)de>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, March 26, 2009 1:33 PM
Subject: Re: [xsl] Need help skipping a child element


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>
--~--



--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>