-
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 don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
I am not convinced with the answer. Can someone else please explain?
-
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Similar Threads
-
By Raja Hayek in forum XML
Replies: 2
Last Post: 11-22-2001, 06: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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks