aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "standard xml api VS dom4j" Watch "standard xml api VS dom4j" New topic
Author

standard xml api VS dom4j

gianni ipez
Ranch Hand

Joined: Jan 02, 2007
Posts: 65
Hello,
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.
Gianni
William Brogden
Author and all-around good cowpoke
Rancher

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

Bill
gianni ipez
Ranch Hand

Joined: Jan 02, 2007
Posts: 65
Thank you Bill.
Gianni
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: standard xml api VS dom4j