Imports System
Imports System.IO
Imports System.Xml
public class Sample
public shared sub Main()
Dim doc as XmlDocument = new XmlDocument()
doc.LoadXml("" & _
"1-111111-57-5 " & _
"C# " & _
" ")
Dim elem as XmlElement
elem = CType(doc.DocumentElement.ChildNodes.Item(0),XmlElement)
Console.Write("{0} = {1}", elem.Name, elem.InnerText)
Console.WriteLine(" namespaceURI=" + elem.NamespaceURI)
end sub
end class