[xsl] StreamSource vs SAXSource

Subject: [xsl] StreamSource vs SAXSource
From: "Pramodh Peddi" <peddip@xxxxxxxxxxxxxxxx>
Date: Sat, 1 Nov 2003 20:50:34 -0500
Hi,
I am using Java 1.4.1's Transformation API.

I understand the differences between DOMSource and SAXSource. But, I din't
quite understand the differences (in terms of memory and time consumption)
between SAXSource and StreamSource.

When I have XML String to be transformed against a xsl. Which Source is the
best in terms of memory and time? SAXSource? StreamSource? I guess When we
have an XML Stream, StreamSource is better.

Thanks in advance,

Pramodh.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread