Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

XML Application

How do you make a application using visual basic etc with XML i want to make
a program that updates every so often and it uses XML
Thanks
[150 byte] By [Andrew] at [2007-11-9 15:27:39]
# 1 Re: XML Application
Download the MSXML 4.0 parser and SDK documentation here:
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?ur
l=/msdn-files/027/001/766/msdncompositedoc.xml

(watch for line breaks)

After installing MSXML, in VB 5/6, add a Reference to the Microsoft XML,
version 4 library. That lets you create parsers, load and save documents,
perform searches, construct nodes programmatically, and work with elements
and attributes.
Dim doc As New DOMDocument

You load documents via the Load method, and save them using the Save method.
Use the SelectSingleNode and SelectNodes methods to find individual nodes.
Use the Attributes collection methods or the get/setAttribute methods to
retrieve and set attribute values.

That should get you started. If you have specific questions, post them here,
and someone will help.


"Andrew" <captainhardcore@charter.net> wrote in message
news:3e01df44$1@tnews.web.dev-archive.com...
>
> How do you make a application using visual basic etc with XML i want to
make
> a program that updates every so often and it uses XML
>
> Thanks
Russell Jones at 2007-11-11 23:29:43 >