• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which one?

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello all,
Which is better SAX or DOM? I dont understand way their are two...why not just one.
thanks.
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Well, both these serve different purposes.
While I don't want to repeat what was said before,
here are some links which deal with the same qstn:
http://www.javaranch.com/ubb/Forum31/HTML/000014.html http://www.javaranch.com/ubb/Forum31/HTML/000527.html
and you can find a whole lot more when you use the
search tool. Just type "SAX DOM" for
the serach words.
regds.
- satya
ps: Why Java and Microsoft, why not just Java...
 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
AS far as I can see SAX is serial access and DOM is random access.
( gleamed that from comments on this page : http://java.sun.com/xml/tutorial_intro.html)
So I imagine the implementation details of a project would determine the most efficient one to use.
Correct me if I'm wrong please.
Terry
[This message has been edited by Terence Doyle (edited August 07, 2001).]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic