Using XML processing typically simplifies a developer’s job–but not when you’re programming in c++. Ever wish someone would create the create the C++ equivalent of XMLBeans? Someone has. Find out how this new open source tool fills a serious gap in the C++ software environment.
After manipulating an xml-file, using the same method as is used in this example, the changes are not stored into the xml-file.
However, the
poDoc.serialize(cout);
works. The content is changed.
The problem is that it is not stored into the xml-file. Any tips? Do I need to create an out-stream for this purpose?
Yes, this is exactly what you need to do.
regards,
witek