>Errr, how is that possible?  The way things normally work is, parser
>reads XML resource, loads it into data structure, offers DOM API to it.

Most of the DOM could be constructed using public DOM APIs, if you pass a
Document into the parser. There may be a few exceptions left, but the
intent is that parser does not _have_ to be hardcoded to use a particular
DOM.

And I think the parser IBM supplied will in fact write into any DOM you
want to hand it, though it may run faster (eg the deferred bindings)  and
support additional features (eg marking ignorable whitespace) when working
with its own.


______________________________________
Joe Kesselman  / IBM Research


Reply via email to