#include "StdAfx.h" #include "MBTagDocInfo.h" IMPLEMENT_DYNAMIC(CMBTagDocInfo, CMBBaseTagDocObj) CMBTagDocInfo::CMBTagDocInfo(void) { } CMBTagDocInfo::~CMBTagDocInfo(void) { } bool CMBTagDocInfo::ParseXML(CString strXml,CString &strErrInfo) { if( strXml.IsEmpty() ) { return true; } pugi::xml_document xmlDoc; if (!xmlDoc.load(strXml)) { return false; } pugi::xml_node form = xmlDoc.child(_T("Doc")); pugi::xml_node node = form; //m_strFileID = node.attribute(_T("FileID")).value(); //m_strFileName = node.child_value(_T("FileName")); return true; }