Writes the current configuration information to an XML string. String is XML Serialization format.