View RSS Feed

Java XML

  1. SAX and DOM APIs

    by , 04-27-2012 at 05:14 PM
    The SAX API is event-based. XML parsers that implement the SAX API generate events that correspond to different features found in the parsed XML document. By responding to this stream of SAX events in Java code, you can write programs driven by XML-based data.

    The DOM API is an object-model-based API. XML parsers that implement DOM create a generic object model in memory that represents the contents of the XML document. Once the XML parser has completed parsing, the memory contains ...
    Tags: sax Add / Edit Tags
    Categories
    SAX.