On Tue, May 31, 2011 at 7:18 AM, i.code <[email protected]> wrote:
> Hi I am trying to read from an xml file with this structure:
>
> <?xml version="1.0" standalone="yes"?>
> <kml>
>  <Document>
>    <name></name>
>  </Document>
>  <Placemark>
>    <aid>1</aid>
>    <name>test1</name>
>    <description>test1</description>
>    <Point>
>       <coordinates>test1</coordinates>
>    </Point>
>  </Placemark>
> </kml>
>
> In my VB.Net file I am trying to use ReadXML to make use of certain
> elements and display them in a Datagrid. So far I've not been able to
> figure out why it wont work. It will work with a simplified xml but I
> need this structure for a googleMaps page. I am kind of handcuffed
> with Framework 2.0 for the time being. Is there another way?
------------------

Have you considered Document.Load instead of readXML?  There are
overloads for the XML you are getting so it should help in your
problem.


-- 
Stephen Russell

Unified Health Services
60 Germantown Court
Suite 220
Cordova, TN 38018

Telephone: 888.510.2667

901.246-0159 cell

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to