RE: returning single result from apply-templates

Subject: RE: returning single result from apply-templates
From: DPawson@xxxxxxxxxxx
Date: Tue, 10 Oct 2000 11:20:42 +0100
David Carlisle - challening JT on clarity this morning!


> > (1)   foo//bar[1] applies the whole path as many times as 
> are found in the
> > src document
> 
> Not really.

OK, I like your later definition, 
<quote>the scope of the [1] is just the last step ie bar


> So, the important thing to consider with [ predicates ]  is
> which node set they apply to. In the abscence of () then this is
> normally just the last step ie the stuff after the last /
> but using () you can apply them to any node set.

Another tool in the arsenal. Thanks David.

Regards DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread