Re: Next Node tests
That's not weird behaviour, that's a bug. Like turning up at the wrong wedding (and dancing with the bride, but that was another country) Francis. Ian Blizard wrote: > > Hi all, > > Thanks for your help with my previous problem. > > I'm now revisiting my stylesheets, I need to test whether or not the > current Item node is the last Item node in the current context. > > e.g > > <Data> > <item>value1</item> > <item>value2</item> > <item>i_am_the_last_one</item> > </Data> > > Now I was using: > > <xsl:when test="position()=last()"/> > > But this behaved sporadically between different versions of Xalan, as > our stylesheets need to run with any XSL Transformer, weird behaviour > isn't acceptable. (like wearing boxing gloves to weddings). > > -Buzz. > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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