<?xml version="1.0" encoding="UTF-8"?>
<Information>
<updateinfo version="2.00" update="yes"/>
<maininfo version="3.00" update="yes" mode="frontend"/>
<updatefile>
<url serv="www.kkyoo.com" relativeaddr="/download/setup.exe"/>
<url serv="cnc.kkyoo.com" relativeaddr="/download/setup.exe"/>
<url serv="other.kkyoo.com" relativeaddr="/download/setup.exe"/>
</updatefile>
<mainfile>
<url serv="www.kkyoo.com" relativeaddr="/dowload/setup.exe"/>
<url serv="cnc.kkyoo.com" relativeaddr="/dowload/setup.exe"/>
</mainfile>
</Information>在这个里面,<updatefile>里面的节点的个数是不确定的(比如上面的为3个),那我如何能动态的把这3个都遍历了呢?使用FindElem()也能一个一个解析,但不能判断什么时候把这3个解析结束了。