Web Design Land

Creativities are shown in design

Benefits Of Simple API for XML

Simple API for XML or in short SAX, it is an event-based parser which has been developed by XML-DEV. XML-DEV is the mailing list for XML web document. SAX provides a method for analysis of data from an XML web document that is a choice to that provided by the Document Object Model. Document Object Model (DOM) represents and interacts with objects of HTML and other languages for better web design.

SAX parsers have definite benefits over Document Object Model. The quantity of memory that a SAX parser must use in classify to function is much smaller than Document Object Model parser. Document Object Model parser must have the full hierarchy in memory before any dispensation can initiate, so the DOM parsers’ used memory depends completely on the size of the input data. SAX memory depends upon maximum depth of XML file and the maximum data stored in XML attributes on distinct XML element.

Due to event-driven nature of SAX, it process web document faster than Document Object Model parser. SAX parser also read the disk, but Document Object Model parser having a problem with this reading. There are also some other benefits of SAX which presents it better than DOM.

Advertisements

2 responses to “Benefits Of Simple API for XML

  1. kahlua cocktails October 30, 2011 at 4:01 pm

    Some truly nice and utilitarian information on this web site , likewise I think the design and style holds fantastic features.

  2. videoseyret November 4, 2011 at 10:31 pm

    This is a fascinating post by the way. I am going to go ahead and save this article for my sister to read later on tonight. Keep up the superior work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: