Hello!
Is there any way to query nodes from xml like Microsoft XML?
B4X:
NodeLst = sXML.SelectNodes("//RouteSegment[@name=""Route Point 3""]")
If Not (aNodeLst Is Nothing) Then
For Each aNode In aNodeLst
For Each aAttr In aNode.Attributes
If aAttr.baseName = "totalDistance" Then
RouteDist = Round(Val(aAttr.Text) * 1000, 2)
End If
Next
Next
End If