Question: what are the two types of xml parsers?
Answer: Dom Parser − Parses an XML document by loading the complete contents of the document and creating its complete hierarchical tree in memory.
SAX Parser − Parses an XML document on event-based triggers. ... 
JDOM Parser − Parses an XML document in a similar fashion to DOM parser but in an easier way.