怎样循环读取节点中的数据
<?xml version="1.0" encoding="utf-8" ?> <Config>
<PoNum value="" key="1" XPoint="10" YPoint="70"/>
<SupplierID value="" key="2" XPoint="10" YPoint="90"/>
<CompanyName value="" key="3" XPoint="130" YPoint="110"/>
<DeliveryDate value="" key="4" XPoint="500" YPoint="110"/>
<cuscode value="" key="5" XPoint="10" YPoint="130"/>
<Priceterm value="" key="7" XPoint="110" YPoint="130"/>
<Remark value="" key="6" XPoint="10" YPoint="150"/>
<MaterialCode value="" key="8" XPoint="10" YPoint="170"/>
<MaterialChineseName value="" key="9" XPoint="110" YPoint="170"/>
<Materialchinesespec value="" key="10" XPoint="330" YPoint="170"/>
<unit value="" key="11" XPoint="500" YPoint="170"/>
<UnitPrice value="" key="12" XPoint="600" YPoint="170"/>
<Quantity value="" key="13" XPoint="650" YPoint="170"/>
<WastageQty value="" key="14" XPoint="700" YPoint="170"/>
<SumMoney value="" key="15" XPoint="750" YPoint="170"/>
</Config>
循环得到ponum ,xpoint,ypoint 三个值
ponum 10 70
supplierid 10 90
companyname 130 110
如上效果