Android Question xmlsax

yo3ggx

Active Member
Licensed User
Longtime User
Hi,

I'm using XmlSax library to parse some tens of xml files downloaded using HTTPUtils2. In order to speed up the process, as soon as the xml file is received, the parser is started. In this way several xml files are parsed in parallel.
In this moment I'm using a separate prefix when parsing for each xml file. As all files are parsed at the end using the same routine, there is any way to pass an indication about the file to be parsed not to use separate prefix_StartElement and prefix_EndElement for each xml file?

Thank you,
Dan
 

eurojam

Well-Known Member
Licensed User
Longtime User
you can use a map, where the xml file name will be the key and the value the flag for parsed/not parsed.
 
Upvote 0
Top