Updated C++ Source

Added XML support