Raymond Feng wrote: > Hi, Dan. > > Thank you for the quick feedback. > > I have one follow-up question: > > IMHO, the XMLStreamWriter is a simple way to produce XML documents by > writing xml artifacts instead of string concation. For SDO, we already > have XMLHelper.save(). What's the add-on value to go through the > XMLStreamWriter layer? Can something take advantage of the result > XMLStreamWriter? >
XMLHelper.save() writes to an OutputStream or a Writer - this is the same thing just to a StAX event sink rather than a byte or character sink. Anything can provide an implementation of XMLStreamWriter and do with the output events what it likes. For example, someone might use it to create a DOM. -- Jeremy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
