At 09.56 29/07/2005 -0500, Rob Benton wrote:
Hey Alberto I see the DOMWriter class in the docs online but I
couldn't find DOMWriterImpl. Is it somewhere else?
You need to look at the sources of DOMWriterImpl, not at the
documentation; look at src/xercesc/dom/impl/DOMWriterImpl.cpp and see
how it uses the XMLFormatter to serialize XML.
Alberto
Thanks
Alberto Massari wrote:
Hi Rob,
SAX2 API is only for parsing files, not for writing; if you want to
write a new XML from the SAX2 callbacks (without creating the DOM
first), have a look at the XMLFormatter class and how DOMWriterImpl uses it.
Alberto
At 20.24 28/07/2005 -0500, Rob Benton wrote:
Hey everybody. I've created a class inheriting from
DefaultHandler and using a SAX2 parser in my application. Are
there methods somewhere in the SAX2 API that I can use to write an
xml file? Or if I'm barking up the wrong tree please correct me.