|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: position() problem with // axis + parent numbering probl
On Wed, 19 Apr 2000, Warren Hedley wrote: > David Carlisle wrote: > > > > what were you expecting? It looks OK to me. > > Perhaps you wanted the (//text)[1] form which only returns one node > > (see the second half of my example in first reply). > > Thanks David and Mike. (//text)[1] was exactly what I was after - > I didn't realise you could do that. And thank you both for the > explanations. Wouldn't /descendant::text[1] be faster with most parsers? (or am I mistaken in that would produce different results?) -- <Matt/> Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org 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
|

Cart








