-
DOM vs SAX Parser
Guys,
In my interview I said in DOM parser we load the whole document before manipulating it while in SAX parser we don't need to load the whole document.
The interviewer started asking me if in SAX parser, we need to load atleast little bit in order to manipulate?
What is the answer to that?
-
This is my understanding.
The DOM parser always reads the whole xml document.
In contrast, the SAX parser works incrementally and generates events that are passed to an application.
-
I am not convinced with the answer. Can someone else please explain?
-
Similar Threads
-
By Raja Hayek in forum XML
Replies: 2
Last Post: 11-22-2001, 07:25 AM
-
Replies: 0
Last Post: 09-17-2001, 03:59 PM
-
By kellie in forum xml.announcements
Replies: 0
Last Post: 09-06-2001, 02:35 PM
-
Replies: 1
Last Post: 04-16-2001, 02:05 PM
-
Replies: 2
Last Post: 07-14-2000, 07:15 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|