aspose file tools
The moose likes XML and Related Technologies and the fly likes xml parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "xml parsing" Watch "xml parsing" New topic
Author

xml parsing

duhit Choudhary
Ranch Hand

Joined: Apr 01, 2012
Posts: 64
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

Joined: Jul 20, 2005
Posts: 8141
    
  52

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?

[My Blog] [JavaRanch Journal]
duhit Choudhary
Ranch Hand

Joined: Apr 01, 2012
Posts: 64
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
Bartender

Joined: Oct 14, 2005
Posts: 16482
    
    2

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: xml parsing
 
Similar Threads
CSS with XML
JSP Design question
add, edit xml record using jsp
can i use an xml file for internationalized text instead of Application.properties
static final variables