Types of XML Application Programming Interface

Explain types of XML Application Programming Interface (API).

E

Expert

Verified

Following are the two main types of XML parsers:

a) Tree-based API – It compiles an XML document to the tree structure and then loads it into the memory. This tree structure can be easily traversed and changed. DOM is perfact example of the tree-based API.

b) Event-based API – It offers report to an application about parsing events through a set of built-in call-back functions. Example of the event-based API is SAX.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.