Reading
an XML file in ASP is very simple if you are using the xmldom object.
Create an xmldom object first and then load the xml file that you want
to read in this xmlobject. For loading the xml file in the xmldom object
you have to use the Load method available in it.
_______________________________________________
_______________________________________________
The
load method takes the physical path of the xml file. It is not easy
to guess the physical path of the xml file and hence you can use the
Server.MapPath method to get it.
Before
loading the xml file set the async property of the xml object to False.
This ensures that the xml file is loaded fast as it is read.Once you
have loaded the xml file to the xml object.
You can
navigate through the xml object using the documentElement.childNodes(n).text
and get the value available in the nth node of the xml file. Assign
these values to some variable and then display the variable in any part
of the asp page.
In Brief (D-Lib Magazine)
In 2006, the School of Information and Library Science at the University of North Carolina at Chapel Hill (UNC-CH SILS) and the Department of Computer Science at Virginia Tech (VT CS) took the first steps toward developing an interdisciplinary curriculum for digital library (DL) education.
Related Articles (New Mobile Computing)
Apress' open source series of books recently unveiled Mark Mamone's " Practical Mono ", a book targetting new .NET developers. We take a quick look at the book below.