I am trying to read an XML file into our database via VB.NET 2005.
I retrieve the file via a WebDAV query to exchange 2003. My XML knowledge is not the strongest and I am really struggling.
The XML is already loaded in a XmlDataDocument object and I need to read all the data from the XML file and read them into the database.
The XML file is below: -
<?xml version="1.0"?>
<a:multistatus xmlns:b="urn:uuid:c2f41010
-65b3-11d1
-a29f-00aa
00c14882/"
xmlns:d="urn:schemas:httpm
ail:" xmlns:c="xml:" xmlns:e="
http://schemas.microsoft.com/mapi/proptag/" xmlns:a="DAV:">
<a:response>
<a:href>
http://0.0.0.0/exchange/blair/Inbox/RE:%20Developers%20Conference.EML</a:href>
<a:propstat>
<a:status>HTTP/1.1 200 OK</a:status>
<a:prop>
<d:from>mailfrom</d:from>
<d:to>mailto</d:to>
<d:datereceived b:dt="dateTime.tz">2008-06
-17T13:57:
21.192Z</d
:daterecei
ved>
<d:subject>RE: Developers Conference</d:subject>
<a:uid>AQEAAAAICkcJAAAAAAA
AAAAAAAAA<
/a:uid>
<e:x10800003 b:dt="int">-1</e:x10800003
>
</a:prop>
</a:propstat>
<a:propstat>
<a:status>HTTP/1.1 404 Resource Not Found</a:status>
<a:prop>
<e:x10810003 />
</a:prop>
</a:propstat>
</a:response>
<a:response>
<a:href>
http://0.0.0.0/exchange/blair/Inbox/RE:-8.EML</a
:href><a:p
ropstat>
<a:status>HTTP/1.1 200 OK</a:status>
<a:prop>
<d:from>mailfrom</d:from>
<d:to>mailto</d:to>
<d:datereceived b:dt="dateTime.tz">2008-06
-17T13:36:
47.000Z</d
:daterecei
ved>
<d:subject>RE: </d:subject>
<a:uid>AQEAAAAICkcHAAAAAAA
AAAAAAAAA<
/a:uid>
</a:prop>
</a:propstat>
<a:propstat>
<a:status>HTTP/1.1 404 Resource Not Found</a:status>
<a:prop>
<e:x10800003 />
<e:x10810003 />
</a:prop>
</a:propstat>
</a:response>
</a:multistatus>
Start Free Trial