/**************************************
*Author:Java619
*Time:2006-11-07
**************************************/
假设我们现在要读取下面的 info.xml 文件
<?
xml version="1.0" encoding="gb2312"
?>
< root >
< data id ="1" >
< name > ceun </ name >
< age > 21 </ age >
</ data >
< data id ="2" >
< name > <![CDATA[ 张三 ]]> </ name >
< age > 22 </ age >
</ data >
< data id ="3" >
< name > jake </ name >
< age >
< root >
< data id ="1" >
< name > ceun </ name >
< age > 21 </ age >
</ data >
< data id ="2" >
< name > <![CDATA[ 张三 ]]> </ name >
< age > 22 </ age >
</ data >
< data id ="3" >
< name > jake </ name >
< age >