I'm reading an XML file using a XmlTextReader:-HTML Code:<way id='27004700' > <nd ref='296002937' /> <nd ref='296003910' /> <nd ref='296003911' /> <nd ref='296003912' /> <nd ref='296003913' /> <nd ref='296003914' /> <nd ref='296003916' /> <tag k='wires' v='single' /> <tag k='cables' v='3' /> <tag k='power' v='line' /> </way>
How do I read all the nd refs and tags for the way?HTML Code:Dim strDir As String = "d:\map.osm" Dim xReader As XmlTextReader = New XmlTextReader(strDir) Do While xReader.Read() Select Case xReader.Name case "way"![]()




Reply With Quote