Click to See Complete Forum and Search --> : Search for some values in XML files


enigmaos
August 14th, 2001, 03:18 PM
I'm trying to retreive some data from an XML file. For example (shown below), I'm trying to get the filenumber (123456), UserID (654321), all file types (Local, network, email) and file destinations (C:\, X:\, enigmaos@example.com) to display on a form. What's the fastest and most efficient way to do it?

<FILEGROUPID>
.
.
.
<KEY>
<KeyName>FileNumber</KeyName>
<KeyValue>123456</KeyValue>
</KEY>
<KEY>
<KeyName>UserID</KeyName>
<KeyValue>654321</KeyValue>
</KEY>
.
.
.
</FILEGROUP>
.
.
.
<FileType = "LOCAL">
<FileDestination>"C:\Temp\Example.xml"<FileDestination>
</FileType>
.
.
.
<FileType = "NETWORK">
<FileDestination>"X:\Temp\Example.xml"<FileDestination>
</FileType>
.
.
.
<FileType = "EMAIL">
<FileDestination>Enigmaos@example.com<FileDestination>
</FileType>
.
.
.


Thanks in advance!!!!!!!

enigmaos@yahoo.com