To parse XML data you need to call only one API. The parse_xml function returns after completion of given XML data. It doesn't perform partial parsing. The parser can also trigger callbacks, if you ...