Generated XML C++ Encode Methods

An XML C++ encode method named encodeXML is added to each class generated for an XSD type when the -xml switch is specified on the command line. This method will convert a populated instance of the class into an encoded XML message.