Using xml parser for ASP

The handle the xml files using the code, you need an xml parser which loads the xml file in the memory of your computer. Then the document object model is used to manipulate the xml document in any way you want. In ASP, we will be using the Microsoft's XML parser for working with the xml documents.

The parser has all the methods, properties, and the events to handle the xml document in any way you want. All you will doing with the xml document is to traverse the nodes in it, append, replace, edit, and remove the elements and the data found in it. All the functions needed for this to happen are available with the Microsoft's XML Parser.

In ASP, you can create an instance of the xml parser using the following code:

set xmlDocObj=Server.CreateObject("Microsoft.XMLDOM")

Then you can use this object's Load method to load the xml file into it. You should know that the load method takes the physical path to the xml file as its argument.


.

SetApp - 100 Apps for everything you ever wanted to do on Mac

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________





 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

“Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.”

Copyright - © 2004 - 2019 - All Rights Reserved.