Results 1 to 4 of 4

Thread: Explanation on Parser, Sax and Dom

  1. #1
    Join Date
    Nov 2009

    Explanation on Parser, Sax and Dom

    I am looking for a detailed description of PARSER, SAX and DOM. This are most common and needed terms in XML language. I have designed a site for a project work. This site states information on a local area development. Now the site is linked to a database which works on XML. I am quiet familiar but does not what is the actual work the above terms meant for. Thanks in advance.

  2. #2
    Join Date
    May 2008

    Re: Explanation on Parser, Sax and Dom

    A parser is a software tool, a parser, which allows a client application to validate (if it is a validating parser) an XML document and read it, see change. A parser makes available to the application client read the XML data through APIs, the most common being SAX and DOM. Another class of parsers, more recently, includes a pull technology, combining the advantages of SAX - defined as a PUSH technology - and without their drawbacks DOM . StAX (Streaming API for XML) is an example of Java API Pull parsers implemented by BEA and Sun.

  3. #3
    Join Date
    Feb 2008

    Re: Explanation on Parser, Sax and Dom

    DOM is a W3C recommendation, proposed in several versions (level) with features and increasing the compatibility of which is rising; The Level 1 became a recommendation on October 1, 98, Level 2 (XML) November 13, 2000, and all elements of level 3 are not recommendations to date. DOM (Document Object Model) is an API for accessing the contents of an XML document as a tree structure. The XML document, having been fully loaded into memory, is accessible through a set of 'objects corresponding to different types of knots in it, and describing methods for traversing the tree in a hierarchical or cross.

  4. #4
    Join Date
    Jan 2008

    Re: Explanation on Parser, Sax and Dom

    It is very helpful for reading large documents. It will not cons not suitable for cases where the client application can not be satisfied with a linear path and "snippets" of the XML document. SAX (Simple API for XML) is an API based on an event model, which transforms an XML document into a stream of events triggered by reading XML syntactic elements like start tag, end tag, etc. The model is somewhat modeled on the GUI, the client application becomes an "event listener". SAX has the advantage, through its operation, not read the code in small portions, which avoids to load into memory completely, unlike DOM.

Similar Threads

  1. .NET Configuration Parser Error on start up
    By Barraq in forum Operating Systems
    Replies: 5
    Last Post: 11-04-2011, 09:05 PM
  2. Which JSON parser works on Windows Phone 7?
    By Loyalpalm in forum Portable Devices
    Replies: 3
    Last Post: 27-10-2010, 09:59 AM
  3. XML Expat Parser in PHP
    By sivaranjan in forum Software Development
    Replies: 4
    Last Post: 25-02-2010, 01:37 AM
  4. Replies: 4
    Last Post: 20-10-2009, 08:00 PM
  5. Prefix not Bound to a namespace Error with XML parser
    By Nihar Khan in forum Software Development
    Replies: 3
    Last Post: 02-03-2009, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts