xmlDoc.getElementsByTagName("price")[0].childNodes[0].nodeValue;
var EXAMPLE = document.querySelectorAll('product[code="DVR4H1004N1P但这不是我真正想要的,我实际上想要将id="demo2" 在中的内容更改为XML中<product code="DVR4H1004N1P"> 中的<price>元素的值。我做过的最接近的解
server started
2011-03-24 22:57:42: (mod_fastcgi.c.1754) connect failed: Connection refused on unix:/tmp/dvr.sockmod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 1509 socket: unix:/tmp/dvr.sock-03-24 22:57:55: (mod_fastcgi.c.33