2011年9月23日

wxWidgets中使用wxXmlDocument修改结点属性

摘要: wxXmlDocument doc; if (!doc.Load(filename,"UTF-8", wxXMLDOC_KEEP_WHITESPACE_NODES)) return; wxXmlNode* root=doc.GetRoot(); if (root->GetName().Lower() != "root") return; wxXmlAttribute* attr=root->GetAttributes(); while(attr) { if(attr->GetName()=="node1") ... 阅读全文

posted @ 2011-09-23 15:18 史琳 阅读(379) 评论(0) 推荐(0) 编辑

导航