The Xalan data model design does allow for by-nodename indexing optimization. I believe our current "native" DTM implementation (SAX2DTM) does take advantage of that. I don't think DOM2DTM does. Of course whether it saves you anything depends on whether you're accessing the same document repeatedly.
______________________________________ Joe Kesselman / IBM Research
