OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] use SAX to get "tree" under XML node

The response from Ron Bourrett was on the mark except
that I'd have said to always use an XMLWriter of some kind.

There are too many corner cases you can trip over when you
try to turn "raw data" into XML text.

(And I'd not describe turning a partial event stream into text
to be getting a "tree" ... in that case I'd be more likely to build
a data structure, maybe even populate a DOM fragment, with
those events.)

- Dave