Howdy, This might sound ridiculous but for one major application I wrote a class to provide my basic XML generation needs, my primary storage is a vector and I just put formatted strings into it. When it comes time to send the XML message I call some support methods from the client class(which inherits from the base XML class) and preseto, all my tags come out in a consistant header/body format. Attached is source code samples. don't both trying to compile as I have only supplied minimal files to demonstrate. Sid -----Original Message----- From: Ing. Hans Pesata [mailto:[EMAIL PROTECTED]] Sent: Monday, 6 May 2002 11:46 PM To: Xerces Mailinglist Subject: XML output Hi ! I just wanted to ask if anybody has found a decent approach to generate XML output ?! I am using a SAX2-parser to parse my XML-data-files and I also want to be able to write the data back to a XML-file. I read the threads about creating XML-output by using a content-handler and creating the appriopriate events, does "generate SAX-events" mean, calling the functions within the content-handler (e.g. startElement()...) from an above layer ? I also looked at the SAX2PRINT example and I suppose I would have to use a XMLFormatTarget-object too to generate the output ?! I also didnt undertstand the comment, why this apporach is "validating", because I dont think I have to use a parser-object to call tzhe content-handler-functions ?! any hints/comments would be appreciated, thanx in advance! Regards, Hans Pesata
ClientXML.cpp
Description: Binary data
BaseXML.cpp
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]