>Could me please tell me where to find an example of how to build a DTM
from a XML file.

Normally you ask a DTMManager to do this for you, passing it an appropriate
Source object. See the DTMManagerDefault implementation, specifically its
getDTM() method.

To read from a file, I _think_ what you'd want is a StreamSource. Or of
course you can set up the parser yourself and use a SAXSource.

(TestDTM isn't really a sample program; it's a unit test...)



Reply via email to