>When Xalan needs to do things such as create new NodeIterators or
>NodeLists, does it do so internally with its own implementations

Iterators: Yes.

NodeLists: Depends on context. Generally yes; there may be some special
cases w/r/t extension functions.

Remember, our internal model is DTM, not DOM.

>If it does create them internally, is there any way to expand Xalan
>in the same way that you might extend the DocumentImpl in Xerces

Not architected, and I'd expect it to be hard to support. DTM's not an
object based representation, and hence isn't as amenable to subclassing.
You can build new implementations of the DTM API, and some folks have done
so, but that's generally a case of reimplementing from scratch.

Reply via email to