• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDOM and Xml

 
Greenhorn
Posts: 23
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is documentation on how to use JDOM, including examples, on the website: http://www.jdom.org/downloads/docs.html
 
Hamzah khammash
Greenhorn
Posts: 23
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 .

 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic