[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Need help skipping a child element
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.Honnen@xxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, March 26, 2009 1:33 PM Subject: Re: 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|