Arcader Posted April 23, 2007 Share Posted April 23, 2007 hey I have an xml reading code but the problem is its for VBscript and not javascript. I want the Javascript version of it, and was wondering if anyone knows the javascript version of a xpath code. Link to comment Share on other sites More sharing options...
jesh Posted April 24, 2007 Share Posted April 24, 2007 Post what you have and maybe someone'll be able to convert it. Link to comment Share on other sites More sharing options...
Arcader Posted April 26, 2007 Author Share Posted April 26, 2007 <script type="text/vbscript">set xmlDoc=CreateObject("Microsoft.XMLDOM")xmlDoc.async="false"xmlDoc.load("Beta.xml")dim numbernumber=3set nodes=xmlDoc.selectNodes("/Video/show[number]/url/text()")for each x in nodes document.write("<embed width=640 height=480 src=") document.write(x.xml) document.write(">")next</script> Heres the code, just someone tell me how to use xpath in a javascript code or convert this. Link to comment Share on other sites More sharing options...
Arcader Posted April 28, 2007 Author Share Posted April 28, 2007 does any one know the javascript version of the xpath, I know it exist I rember seeing it on a website a year ago. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.