IntelliJ Java IDE
The moose likes XML and Related Technologies and the fly likes Xml Parsers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Xml Parsers" Watch "Xml Parsers" New topic
Author

Xml Parsers

Aamir Memon
Greenhorn

Joined: Jul 05, 2001
Posts: 7
Can anyone please recommand me a very easy to use parser for xml, I just want to try how a pareser works.
Regards
Aamir
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
You can download Xerces from Apache or JAXP from Sun. Both of these come with example programs that can be just compiled and run. They also contain some sample xml files.
I suggest you start from there and learn by experimenting.
Cheers!
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.


Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).
Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

Ajith,
Do you have any opinion on the different parsers available?
Do you know any discussion on JRanch or anywhere else that explores this?


!_I_Know_Kung_Fu_!
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
Here is a perormance comparison matrix for various parsers tested with validation. Eventhough the data is quite old, I'm sure this will give you an idea about what to expect.
DOM and SAX Put to the Test

Choosing an XML Parser

Hope that helps,

------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
It is likely that Sun's JAXP package will be made part of the standard Java release, so you might as well learn that one.
Bill

Java Resources at www.wbrogden.com
 
IntelliJ Java IDE
 
subject: Xml Parsers
 
Threads others viewed
Castor Mapping
Ajax Jqery xml response - not able to read response
making XML Doc from JDBC Results
Pronounciation of "Buzz Words"
iText problem with html-table to pdf
MyEclipse, The Clear Choice