• 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 Tree Creation

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Im hoping that some one out there will have had experience of creating JDom Documents.
The problem Im having is every tutorial out there is super basic and doesnt cover the problem that im getting. If im creating this tree...
A
-B
--C
---D
Or something simmilar im getting a null element on teh second one in. To add b, you add an element to root. To add c you have to find child of a matching b, then add c to it. Crashes and burns.
On the JDom faq it states something very similar saying namespaces have to be declared. Im not wanting or including any namespace declarations. Can any one help? Thx
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic