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


> 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

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