Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 20th, 2004, 05:14 PM
Authorized User
 
Join Date: Aug 2003
Location: , , .
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading XML from ASP

I want to be able to read XML from ASP/VBscript. Can someone please direct me to available resources. So far, I have found out that I could use MSXML2, but I have not been able to find any documentation on that. Please help!!

My XML document will reside on the network. How do you do read a file in ASP??


Thanks in advance
Reply With Quote
  #2 (permalink)  
Old February 20th, 2004, 11:34 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

When you download the MSXML 4 Parser, you should also get the MSXML SDK, which is an excellent resource for XML in itself.

You can use the DOM objects to access an XML file. Depending on the location of the XML file, you can hard-code a path to the XML file, or use the Server.MapPath. For documentation, if you have VB or Interdev, the MSDN should have information on it. I found most of what I learned on the web at other peoples examples. It would be a book to give you all of what you can do with XML, but in your research, you should look up some of the following objects and methods to start:

DOMDocument
Node
Element
Attribute
selectSingleNode method
selectNodes method
createElement method
createAttribute method
XPath syntax (very powerful language)
XSL stylesheets (also known as XSLT)

Hope this helps,

Brian
Reply With Quote
  #3 (permalink)  
Old February 26th, 2004, 03:26 PM
Authorized User
 
Join Date: Aug 2003
Location: , , .
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Brian. Appreciate that.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading XML through ASP jeffm_22 Classic ASP XML 3 June 11th, 2010 07:02 AM
Reading XML file using ASP itHighway Classic ASP XML 1 June 7th, 2006 06:16 AM
Reading XML file using ASP itHighway Classic ASP Basics 1 May 1st, 2006 06:21 PM
Reading XML file using ASP itHighway XSLT 2 April 29th, 2006 04:52 AM
Reading XML string using asp itHighway Classic ASP XML 2 March 10th, 2005 11:54 PM



All times are GMT -4. The time now is 01:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.