This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: position() problem with // axis + parent numbering problem


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]