In another thread, NJDude suggested this code for parsing in-line values in an XML file:
B4X:
Sub Parser_StartElement(Uri As String, Name As String, Attributes As Attributes)
Msgbox("Uri=" & Uri & CRLF & "Name=" & Name & CRLF & "Attrib=" & Attributes.GetValue(2), "")
End Sub
I have a similar problem trying to parse an XML response in order to assign ArrivalDate to a variable. Here is my XML response to an HTTP query:
When I run NJDude's example, it returns "FlightHistoryGetRecordsResponse" as the Name, but never gets to the FlightHistory tag. ArrivalDate is the third value in the FlightHistory tag. Thanks!