DTM's still evolving rapidly, and we haven't really had time to document it
properly. Start by reading
     http://xml.apache.org/xalan-j/dtm.html
Past that point, the javadoc and other comments in the source are all we've
got right now. You might also want to try searching the archives of this
discussion; we've posted a few words about DTM in the past several months

If you're willing to wade through the code, start at the org.apache.xml.dtm
package and work your way down. The main implementations are
...dtm.ref.sax2dtm.SAX2DTM (most often used) and ...dtm.ref.dom2dtm.DOM2DTM
(used when you want to use an existing DOM as input); their shared code
lives in the ...dtm.ref package. There's also a third implementation still
under developent which is more like the original DTM -- ultra-compact, but
probably slower. Also look at the DTMManager class, which is what manages
instances of DTM.

Advance warning: This code is still under very active development. The DTM
API is probably fairly stable, but the internal details of the
implementations _will_ change without notice.

Reply via email to