View RSS Feed

Recent Blogs Posts

  1. SAX for Survival

    by , 04-27-2012 at 06:14 PM
    Compared to the DOM API, the SAX API is an attractive approach. SAX doesn't have a generic object model, so it doesn't have the memory or performance problems associated with abusing thenew operator. And with SAX, there is no generic object model to ignore if you plan to use a specific problem-domain object model instead. Moreover, since SAX processes the XML document in a single pass, it requires much less processing time.
    SAX does have a few drawbacks, but they are mostly related to the ...