How to parse 3 different xml file.XML files are as follow
<?xml version="1.0" encoding="UTF-8"?>
<login>
<item>
<user_id>id</user_id>
<user_name>Piron</user_name>
<user_status>false</user_status>
</item>
</login>
<?xml version="1.0" encoding="UTF-8"?>
<logout>
<logout_item>
<user_id>id</user_id>
<user_name>kumar</user_name>
<user_status>true</user_status>
</logout_item>
</logout>
<?xml version="1.0" encoding="UTF-8"?>
<registration>
<registration_item>
<user_id>id</user_id>
<user_name>name</user_name>
<user_status>user already exist</user_status>
</registration_item>
</registration>
How to parse them using a single SAX Handler(startElement() and endElement()) in android?