Jump to content

xml reader but theres a problem


Arcader
 Share

Recommended Posts

<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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...