This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make an XML document into java class using jdom

 
Yogita Rakasi
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an xml document which has multiple sets of key, pair and name value elements. This document contains the database connectivity information. I would like to convert this xml document into a java class using jdom and list. Please let me know the best way to do it. Also please send me an example or the links which would help me.
Thank you in advance.
Yogita
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you going to do with the class once you have it? The solution could be as simple as an object holding the DOM and having methods to query it.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic