Subject: RE: AW: [xsl] how to "save" a context? From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Mon, 20 Jan 2003 19:51:30 -0000 |
> > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: AW: [xsl] how to "save" a conte, Dimitre Novatchev | Thread | Re: AW: [xsl] how to "save" a conte, Dimitre Novatchev |
RE: [xsl] Match Question, Michael Kay | Date | RE: [xsl] accessing attributes from, Michael Kay |
Month |