Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Parsing XML With VBScript

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,57661
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Parsing XML With VBScript
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Parsing XML With VBScript - 3/7/2008 6:58:30 AM   
  skmoon

 

Posts: 4
Score: 0
Joined: 3/7/2008
Status: offline
I have googled until I can google no more. I have also searched through this forum and think I'm getting close. I really hope you guys can help me out here.

I am trying to send a GET request to another site and use certain values from the returned XML. I would like to assign those values to variables for later processing.

I have tried using:

      

This will display the actual XML to the web page. I cannot find any info on how to use the values from that XML. So, I then saved an xml file to my server and tried this I found at DevGuru:


      

The second code block gets me nothing...no errors - just a blank web page.

My first question is which direction should I even start? The first code block or the second (assuming I can "GET" the XML data from another server using this method)?

Next, is how do I assign the xml values to a variable?

Any help would be so much appreciated.
 
 
Post #: 1
 
 RE: Parsing XML With VBScript - 3/7/2008 9:10:38 AM   
  skmoon

 

Posts: 4
Score: 0
Joined: 3/7/2008
Status: offline
After browsing around DevGuru some more, I was able to find a link to the following:
http://www.dotnetindex.com/articles/8053_Simple_XML_RSS_Parser.asp

I decided to give that code a try and lo and behold, I started getting results.

To fine tune the code, I then began using this guide:
http://www.devguru.com/Technologies/xmldom/quickref/xmldom_index.html

So far so good. I'm far from finished and may need to ask you guys some questions as I progress along.

Hope everyone has a great weekend!

(in reply to skmoon)
 
 
Post #: 2
 
 RE: Parsing XML With VBScript - 3/7/2008 12:05:47 PM   
  TNO


Posts: 974
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Here's an excellent XML tutorial:

http://msconline.maconstate.edu/tutorials/XML/default.htm

_____________________________

Consolidated Script Component: Now in Testing stage!

A universe of complexity...

(in reply to skmoon)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Parsing XML With VBScript Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts