parser for XML - Community Credit Forums
in

    Community Credit Forums

parser for XML

Last post 07-20-2007 9:08 AM by CraigNicholson. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-17-2007 2:28 AM

    • mukeshranjan
    • Top 25 Contributor
    • Joined on 07-17-2007
    • Mumbai, Maharashtra, India
    • Posts 52

    parser for XML

    It has been seen that we have various  parser for xml files but how to find that which parser is better than others..which parser is implementing DOM properly or which parser implement SAX properly...whether SAX based parser is better for large xml file or DOM based parser..plz try to give a clarify in this regard...
    Filed under: , , ,
  • 07-17-2007 4:55 AM In reply to

    • mukeshranjan
    • Top 25 Contributor
    • Joined on 07-17-2007
    • Mumbai, Maharashtra, India
    • Posts 52

    Re: parser for XML

    It has been observed that file of larger size is parsed with sax as it is sequential process while DOM is better for smaller files and DOM is generally observed to take large memory while parsing as it is event based and take the whole book in memory and construct the file as tree structure so..DOM become more faster than SAX..
  • 07-17-2007 7:29 AM In reply to

    • CraigNicholson
    • Top 50 Contributor
    • Joined on 04-19-2007
    • Johannesburg, Gauteng, South Africa
    • Posts 25
    • Moderator
      MVP

    Re: parser for XML

    Performance of XML parsers whether SAX or DOM based is generally not a concern for most developers as most developers will find their favourite framework/toolset provides them with more than adequate performance for general usage scenarios.

    In theory I would agree that a SAX based implementation should yield greater performance with larger documents.

  • 07-20-2007 7:58 AM In reply to

    • mukeshranjan
    • Top 25 Contributor
    • Joined on 07-17-2007
    • Mumbai, Maharashtra, India
    • Posts 52

    Re: parser for XML

    yes it's true....but thr r different companies provide parser for xml..among all of them which one is better to use..or we can say that all are doing the same kind of implementation for SAX and DOM technology
  • 07-20-2007 9:08 AM In reply to

    • CraigNicholson
    • Top 50 Contributor
    • Joined on 04-19-2007
    • Johannesburg, Gauteng, South Africa
    • Posts 25
    • Moderator
      MVP

    Re: parser for XML

    From my experience the Microsoft XML 6.0 and the Microsoft .NET Framework 2.0 parsers are about the fastest I've ever experienced.
Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems