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. -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d