RE: [xsl] Counting nodes efficiently

Subject: RE: [xsl] Counting nodes efficiently
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 19 Feb 2004 09:47:39 -0000
> 3.  If you are using saxon, you can substring the value returned from
> generate-id() after the 'e', as the generated id's take form 
> 'dxxeyy' where d is the document number and e is the element number.

Hairy! Saxon has changed its algorithm for generating IDs in the past
and may do so again in the future. And in fact, this algorithm works
only with the default tree model implementation, and only with element
nodes.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread