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
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "JDOM and Xml " Watch "JDOM and Xml " New topic
Author

JDOM and Xml

Hamzah khammash
Greenhorn

Joined: Jan 05, 2012
Posts: 15

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
Bartender

Joined: Aug 16, 2005
Posts: 11642

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: 15

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: 26720
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.
 
 
subject: JDOM and Xml
 
Threads others viewed
servlets and xml
Applet can't find JDOM classes, how to solve this?
JDOM
SAX, DOM, JDOM, JAXP are confusing?
XML parsing performance
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com