<?xml version="1.0" encoding="gb2312"?>
<Root>
<Item id="1" name="classc" invoke="manual"> 我如何读取id name invoke的信息
<Caption>test</Caption>
</Item>
</Root> var item=objectDoc.selectSingleNode("/Root/Item");
id = item.getAttribute("id");
classc = item.getAttribute("classc");
manual = item.getAttribute("manual");
<Root>
<Item id="1" name="classc" invoke="manual"> 我如何读取id name invoke的信息
<Caption>test</Caption>
</Item>
</Root> var item=objectDoc.selectSingleNode("/Root/Item");
id = item.getAttribute("id");
classc = item.getAttribute("classc");
manual = item.getAttribute("manual");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货