File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes JDOM and Xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JDOM and Xml " Watch "JDOM and Xml " New topic
Author

JDOM and Xml

Hamzah khammash
Greenhorn

Joined: Jan 05, 2012
Posts: 23

Hello,
I am new to JDOM and XML , i need help to start a simple project ,it about school have 3 classes and every class have a 5 student i need to read this data from xml and put it into my School.java class and Classs.java class and student.java class using setter and getter ,i know that i must have a list for Classs class and Student class but i need a key to start doing this so any help is appreciated
thanks
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

There is documentation on how to use JDOM, including examples, on the website: http://www.jdom.org/downloads/docs.html


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Hamzah khammash
Greenhorn

Joined: Jan 05, 2012
Posts: 23

Jesper de Jong wrote:There is documentation on how to use JDOM, including examples, on the website: http://www.jdom.org/downloads/docs.html


sorry but can you check my XML File because when i run it ,give me a spaces for a tags .

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38405
    
  23
You would need to provide more details of the exact error before anybody can help. Don’t expect anybody to go through your whole file without those details.
I shall move this thread to our XML forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDOM and Xml