RE: Counting nodes efficiently2004-02-19 02:47:393. 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
|
|