netkomm Active Member Licensed User Longtime User Jul 1, 2016 #1 Hi guys, I am stumbled on this silly issue... I am parsing a XML file and it's working fine. However I would like to perform an action after the file has been completely parsed by XMLSax (1.11). Is there a way to detect when the parsing ends? Thanks! p.s. I was going through the SAX documentation at http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html#endDocument() and I see that there should be an endDocument() event... am I missing something? Last edited: Jul 1, 2016
Hi guys, I am stumbled on this silly issue... I am parsing a XML file and it's working fine. However I would like to perform an action after the file has been completely parsed by XMLSax (1.11). Is there a way to detect when the parsing ends? Thanks! p.s. I was going through the SAX documentation at http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html#endDocument() and I see that there should be an endDocument() event... am I missing something?
Erel B4X founder Staff member Licensed User Longtime User Jul 3, 2016 #2 netkomm said: Is there a way to detect when the parsing ends? Click to expand... Yes. B4X: parser.Parse(...) Log("After parsing") '<------- Upvote 0
netkomm said: Is there a way to detect when the parsing ends? Click to expand... Yes. B4X: parser.Parse(...) Log("After parsing") '<-------