Code to deserialize an XML data set
The following is sample code showing how to deserialize an XML data set using VB.NET (.Net 1.1).
Note: This code does not work with .Net 2.0.
Public Shared Function deSerializeDS(ByVal xml As String)
Dim ds As New DataSet
If Not IsNothing(xml) Then
Dim XMLRead As New System.IO.StringReader(xml)
Try
ds.ReadXml(XMLRead)
XMLRead.Close()
Catch ex As Exception
Return Nothing
End Try
XMLRead = Nothing
End If
Return ds
End Function
The data you want is in Table(1), with Table(0) being kind of a dummy table.