|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: AW: how to "save" a context?
> > That is, for every node (not an attribute or a namespace), > the following pair identifies it uniquely: > > (count(ancestor::node()), count(preceding::node())) > > For an attribute node or a namespace node this becomes the tripple: > > (name(), count(../ancestor::node()), count(../preceding::node())) > > > > Finding the node from its id has an efficient implementation > using keys. > Only if you ignore the cost of building the index, which is likely to be horrendous. I missed the beginning of this thread, why can't you use generate-id()? Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








