• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOM2... What do I have to know?

 
Castel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've been reading about DOM2 and it consists of four specifications: "Core", "Views", "Events", "Style" and "Traversal and Range". What do I have to know about them? By now I've been studying interfaces defined into the first of them. And... Is it necessary to know all these intefaces?
Thanks in advance.
 
Hari Vignesh Padmanaban
Ranch Hand
Posts: 578
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Juan,
Welcome to the Ranch
Originally posted by Juan Pablo Castell:

I've been reading about DOM2 and it consists of four specifications: "Core", "Views", "Events", "Style" and "Traversal and Range". What do I have to know about them?

CORE:
You have to know the core specification completely. Most of the questions would be based on that !!!
Views:
You dont have to know anything about these specifications
Events:
Even though it is not really neccessary to go through these specifications, people have reported in the past as getting 1-2 questions related to this specification !!!
So to be on the safer side, just have a basic idea of the interfaces.
Traversal:
People have gotten questions related to these specifications. Not really Much though. So it is better to go through these specifications also

well, you shoudl remember that questions asked from SAX and DOM are the most easiest to answer (as far as my view is concerned ). Most of the questions are based on the difference between SAX and DOM.
One of the most general question will be like this:
You have to parse an XML file of 10 MB. what will you use ? SAX or DOM?
Ans: for larger files, SAX shhould be used as DOM occupies hell a lot of memory
So do concentrate highly on the core specifications. (Try to remember the interfaces as much as posible). go through the other views. Realise when to implemnt SAX and DOM as required and hey ..U are all set to rock in the exam
I would suggest you to read the following book
Processing XML with Java - Elliotte Rusty Harold
Chapters 6,7,8,9,10,11,12
Covers SAX, DOM - You dont need anyotehr book, tutorial if you go thro this book on these topics!!!
you dont have to get the book . It is available online. But it is a wonderful book and is good to have it in your collection. I have it
click on the link below

Processing XML with Java - Elliotte Rusty Harold
Good luck for teh exam !!!
hope this helps
 
Castel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your detailed answer. I've been taking notes of it. I'm sure it will help me in the future.
I was also wondering whether I've to study the HTML interfaces.
Thanks again.
 
Hari Vignesh Padmanaban
Ranch Hand
Posts: 578
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTML interfaces

Not required
But as usual, to be on the safer side, just skim through it ;-)
Good luck !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic