File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml parsing

 
duhit Choudhary
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to parse an xml file with the use of apache commons configurations??
i tried to find that out but not satisfied with what i have got.... can anybody help me with the exact example so that i can learn this and can use it as a further reference.
please..... thanks in advance
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Their user guide http://commons.apache.org/configuration/userguide/howto_xml.html#Hierarchical_properties has examples on how to do that. What exact troubles are you having with that?
 
duhit Choudhary
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have that link but unfortunately i am not able able to figure out from that about how to do write actual code for parsing using apache commons configuration,.....
thanks by the way
 
Paul Clapham
Sheriff
Pie
Posts: 20185
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But the link points to a page which contains examples of "actual code". Your code should look like that, only modified to correspond to the structure of your XML configuration file.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic