Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
parsing XML files with SAX
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mukul Gandhi, post: 780061"] I would personally prefer DOM parsing in this case. DOM gives us a neat object oriented method to read elements and attributes, as well as modify the document tree. With SAX approach, I'll have to set up the whole parser call back infrastructure in my application just to read a single element node, which somehow does'nt appeal to me! Another advantage with DOM is, that I can easily store element and attribute properties in Java beans or in other kind of container objects easily. With SAX I'll find that difficult to do. I'll prefer SAX, if I have to ready the whole (or nearly whole) document serially in one pass. Regards, Mukul [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
parsing XML files with SAX
Top