You can
easily understand how xml data is displayed in an asp page if you look
at an example for that. In our case let us consider that your xml data
is available in the xml file 'xmldata.xml'. Now to load the xml file
to an xml object, the following is used,
_______________________________________________
_______________________________________________
Dim
xmlobj
Set xmlobj = Server.CreateObject("Microsoft.XMLDOM")
xmlobj.async = False
xmlobj.load (Server.MapPath("xmldata.xml"))
And if
you want to read the first child node which has the title of a book,
in the xml file, you can do so by,
Dim booktitle
booktitle = xmlobj.documentElement.childNodes(0).text
Set xml = Nothing
Now you
can display the title of the book within your web page, using
<% =
booktitle %>
With this
as an example you can try to navigate through all the elements of the
xml file and then display them in the web page.
Related Articles (New Mobile Computing)
Here's the only recent and still valid book for Mono: " Mono: A Developer's Notebook " by Edd Dumbill and Niel M. Bornstein. The book is under O'Reilly's "notebook" series, which are meant to be books mainly consisted by notes. Here's our quick review.
posted by Eugenia Loli-Queru on Mon 19th Nov 2001 19:44 UTC (New Mobile Computing)
Today, OSNews features an interview with Zac Woodall, software design Engineer at Office Data and Developer Services at Microsoft Corporation . Zac, who is also a frequent OSNews reader, talks about the new Office, .NET, WindowsXP, NTFS and how it compares to BFS filesystem, the GPL & open source movement and much more.