rapidxml读取xml文件操作

#include "stdafx.h"
#include <iostream>
#include <rapidxml.hpp>
#include <rapidxml_utils.hpp>
#include <rapidxml_print.hpp>
using namespace rapidxml;

int _tmain(int argc,_TCHAR* argv[])
{
	file<> doc("main.xml");//文件地址
	std::cout<<doc.data()<<std::endl;
	system("PAUSE");
	return EXIT_SUCCESS;
}

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念