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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...