Hi shivani: Sax is sequential reader, dom retains the whole object tree in memory. Both are fine for reading small documents, but if you need to read a large document, you may run into memory problems with DOM. Additionally, if you also want to change the data you are reading, then DOM is the way to go as SAX does not provide an easy way to do this. If you are building an application in java, then i would recommend jdom as the way to go (http://www.jdom.org) as it combines best features of dom and sax. yatin [This message has been edited by yatin thakore (edited March 27, 2001).]
Thank you everyone for replying. I am totally new with this topic. I need parser to comile my XML programmer? Can I download it from internet? Can anyone give me some idea how to compile and run XML? shivani
shivani , XML is not a program or an executable image, so it cannot be run. XML is a way of representing (hierarchical) data. It is text based, has extensive vendor support and parsers are available in various popular languages. There are dozens of free tutorials available on the web that will help you catchup with this technology. Checkout the all new JavaranchXML links repository for an extensive collection of XML resources. Cheers
------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).