RE: returning single result from apply-templates

Subject: RE: returning single result from apply-templates
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 10 Oct 2000 13:43:49 +0100
> 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


Current Thread