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'" <xsl-list at mulberrytech dot com>
- Subject: RE: returning single result from apply-templates
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 10 Oct 2000 13:43:49 +0100
- Reply-To: xsl-list at mulberrytech dot com
> So the ()[integer] construct guarantees a single node?
Zero or one nodes, actually.
That's assuming it's a constant integer. I just found a Saxon bug that you
never get more than one node even for a variable integer, e.g.
$p[position()] should return every node!
Mike K
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list