Android Question how can use wait for function for Parser_EndElement event in xml2map

Metalika

Member
hi every one
i use Xml2Map sax lib to parse a online xml file.
how can i use wait for function for "end_element" (for example) event?

i use this...
B4X: Copy
Wait For Parser_EndElement (Uri As String, Name As String, Text As StringBuilder)
but this function wait for one item parsing only no for all item.


@Erel
 
Please don't do it.

If you are using Xml2Map then you shouldn't handle any event. Simple call the parse method and it will return a map.

If you are using XmlSax directly then you are doing a mistake. Stop and switch to Xml2Map.

 
Upvote 0
Back
Top