>Maybe you should store all elements returned by extensions as nodes of a
>single DTM instead of storing them as separate DTMs or not store them at
>all?
Putting them into a single DTM isn't as easy an answer as it sounds. What
happens if the stylesheet tried to navigate from the one you actually
returned, and found one of the others? Blammo, broken implementation....
We should certainly discard them after we know we're done using them. Of
course if the stylesheet stores them into XSLT variables, that would make
disposing of them more diffcult; that may push us toward allowing more DTMs
even if we do improve the cleanup mechanisms.