You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Raber Chris <cp...@yahoo.com> on 2001/11/30 23:50:42 UTC

Understanding DTM

I currently invoke Xalan like this, t is a Templates
object, reader is a Reader:

	Transformer transformer = t.newTransformer();
	xalanOutStream = new ByteArrayOutputStream();

        // Added to hook in my EntityResolver
	InputSource inputSource = new InputSource(reader);

	XMLReader xmlReader =
XMLReaderFactory.createXMLReader();

	xmlReader.setEntityResolver(entityResolver);
        // END Added to hook in my EntityResolver

	SAXSource saxSource = new SAXSource(xmlReader,
inputSource);

	transformer.transform(saxSource, new
StreamResult(xalanOutStream)); 

In the D13 release will this use DTM? I a not clear
how/when DTM is used or not.

Thanks!

-Chris.


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com