This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: returning single result from apply-templates
- To: xsl-list at mulberrytech dot com
- Subject: RE: returning single result from apply-templates
- From: DPawson at rnib dot org dot uk
- Date: Tue, 10 Oct 2000 11:20:42 +0100
- Reply-To: xsl-list at mulberrytech dot com
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