On Thu, Feb 05, 2009 at 01:18:00PM -0600, Paul Heil wrote:
I'd like to use the boost::serialization library to generate XML that must be read by a third party application. Unfortunately, this application does not like the extra stuff that the serialization library generates.
The code below generates XML that looks like this: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization>
<MYTAG class_id="0" tracking_level="0" version="0"></MYTAG> What I need is XML that looks more like this: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <MYTAG></MYTAG>
What can I do to eliminate the extra stuff?
Thanks, PaulH
Hi Paul You could post-process the Boost output with XSLT to remove the unwanted tags? There may be a way to do it within Boost::Serialization but I do not know. Bob