|
■No58888 (やんまー さん) に返信 Dim stm = 〜 Xml読み込み用ストリーム Dim doc As New XmlDocument() doc.Load(stm)
For Each nd As XmlNode In doc.ChildNodes Console.WriteLine(String.Format("{0} = {1}", nd.Name, nd.InnerText)) For Each nd2 As XmlNode In nd.ChildNodes Console.WriteLine(String.Format("{0}-{1} = {2}", nd.Name, nd2.Name, nd2.InnerText)) For Each nd3 As XmlNode In nd2.ChildNodes Console.WriteLine(String.Format("{0}-{1}-{2} = {3}", nd.Name, nd2.Name, nd3.Name, nd3.InnerText)) Next Next Next
stm.Close()
|