Jump to content

Need help with VB varibles


Recommended Posts

I'm trying to make a video podcast reader but I'm having problems with varibles in this program.

<body><script type="text/vbscript">set xmlDoc=CreateObject("Microsoft.XMLDOM")xmlDoc.async="false"xmlDoc.load("Beta.xml")dim numbernumber=3set nodes=xmlDoc.selectNodes("/channel/item[number]/link/text()")for each x in nodes  document.write("<embed width=320 height=240 src=")  document.write(x.xml)  document.write(">")next</script></body>

how can I make varible number work with the xml reading code, or what did I do wrounge with the code?

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

  • Create New...