Erik Hofman wrote:

> Boris Koenig wrote:
> > However, there are two new issues:
> > 
> > 1) While it wasn't a real problem to use easyxml.cxx's "readXML"
> > to simply copy  a XML file's structure to a particular node
> > within the property tree, there doesn't seem to exist a
> > similar wrapper for WRITING XML files within easyxml.cxx -
> > something like writeXML :-)
> Well, there is a writeProperties() function next to readProperties 
> function in SimGear/simgear/props/props_io.cxx. If nothing else these 
> functions could be copied or abused to do what you are looking for.

easyxml.cxx is for parsing only. One use standard stream functions 
to write text to a file.
If you want to read and write properties, look in props_io.cxx just
as Erik said.


Flightgear-devel mailing list

Reply via email to