After calling read method, you can go though the document node by node and get the data.
Source Code:
Imports System
Imports System.Xml
Module Module1
Sub Main()
' Open an XML file
Dim reader As XmlTextReader = New XmlTextReader("C:\\it_medan.xml")
While reader.Read()
Console.WriteLine(reader.Name)
End While
End Sub
End Module
No comments:
Post a Comment