explain xml paesers with its functions and example
Answers
Answered by
0
What is XML Parser?
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.
It's functions
The XML functions lets you parse, but not validate, XML documents. XML is a data format for standardized structured document exchange. ... When an event occurs, it calls a specified function to handle it. Expat is a non-validating parser, and ignores any DTDs linked to a document.
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.
It's functions
The XML functions lets you parse, but not validate, XML documents. XML is a data format for standardized structured document exchange. ... When an event occurs, it calls a specified function to handle it. Expat is a non-validating parser, and ignores any DTDs linked to a document.
Similar questions