shubham kumar
What are the different types of parser available to parse the XML document?
By shubham kumar in XML on Jul 16 2012
  • Keerthi Venkatesan
    Aug, 2016 3

    various types of parsers which are commonly used to parse XML documents.Dom Parser - Parses the document by loading the complete contents of the document and creating its complete hiearchical tree in memory.SAX Parser - Parses the document on event based triggers. Does not load the complete document into the memory.JDOM Parser - Parses the document in similar fashion to DOM parser but in more easier way.StAX Parser - Parses the document in similar fashion to SAX parser but in more efficient way.XPath Parser - Parses the XML based on expression and is used extensively in conjuction with XSLT.DOM4J Parser - A java library to parse XML, XPath and XSLT using Java Collections Framework , provides support for DOM, SAX and JAXP.

    • 1
  • Bidyasagar Mishra
    Jul, 2019 12

    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. Does not load the complete document into the memory.

    JDOM Parser − Parses an XML document in a similar fashion to DOM parser but in an easier way.

    StAX Parser − Parses an XML document in a similar fashion to SAX parser but in a more efficient way.

    XPath Parser − Parses an XML document based on expression and is used extensively in conjunction with XSLT.

    DOM4J Parser − A java library to parse XML, XPath, and XSLT using Java Collections Framework. It provides support for DOM, SAX, and JAXP.

    • 0
  • Munesh Sharma
    Oct, 2014 13

    http://docs.oracle.com/cd/B12037_01/appdev.101/b10794/adx04paj.htm

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS