On Sep 28, 2004, at 11:23 AM, Edward L. Knoll wrote:
We use the output DOM, because from this stage we will both (a) serialize the output to a file and (b) apply a second transformation to the output DOM.

I guess Joe answered this part already.

The input DOM may not be strictly necessary for actual operation; we get our input as a byte-array and I could use a stream source for the input. However, for purposes of evaluating and isolating the different contributors to the performance, I wanted to separate the time to parse the input XML from the time to transform the input XML.

It would be more accurate to create a SAXParser with an empty content handler in order to time the parsing part. As Joe pointed out, DOM is not Xalan's preferred infoset flavor.


-- Santiago


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to