Guido Casper wrote:
SourceUtil.toDOM() uses the same code, but calls source.toSAX() only if
it exists (i.e. the source implements XMLizable). If not, SourceUtil
falls back to using the XMLizer (which in turn calls
source.getInputStream again). So SourceUtil works with any kind of
source while your code does only work on sources implementing XMLizable.

Aw, cool! Thank you.


Ugo



Reply via email to