Manipulating XML Content in C++
Manipulating the content of an XML tree in C++ is straightforward. You simply call the accessors and mutators on the generated object’s type-safe API. The following example illustrates how to change the shipping address of the unmarshaled XML instance to the billing address.
// Manipulate the object hierarchy by changing the "ship to"
// address to be the same as the "bill to" address