document.writeln("利用节点间关系导航取节点");
var xml3=xmlDoc.getElementsByTagName("zhou")[0];
document.write(xml3.parentNode.nodeName+"Attribute[id]:"+xml3.getAttribute("id")+"<br>");
document.write(xml3.getAttributeNode("id").nodeName+":"+xml3.getAttributeNode("id").nodeValue);
为什么我这里反应是缺少对象。。。。