File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes standard xml api VS dom4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "standard xml api VS dom4j" Watch "standard xml api VS dom4j" New topic

standard xml api VS dom4j

gianni ipez
Ranch Hand

Joined: Jan 02, 2007
Posts: 65
I need to write a java program that goes through a xml file,
and depending on the content does some task.
For example, if a certain node A has 4 specific children B,C,D,E it needs to look into a database for a table called A and if it exists insert in that table its children value.
As for xml processing, do you suggest me to use standard xml api or to learn some framework like dom4j?
which advantages can it give?
Thank you.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
To avoid confusion and be able to make use of existing tutorials and libraries, use the Java standard library for XML.

gianni ipez
Ranch Hand

Joined: Jan 02, 2007
Posts: 65
Thank you Bill.
I agree. Here's the link:
subject: standard xml api VS dom4j
It's not a secret anymore!