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:
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
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
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
Top