tinyxml操作自己构造了一个TiXmlDocument *myDocument对象如何把xml数据导出为string变量[解决办法]这个还是google下tinyxml的用法吧,貌似就是用TiXmlPrinter 类处理的