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: returning single result from apply-templates



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

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