No, Martin,  I wasnt looking at plain xml reading ,in that case i could just
use a normal parser and get the values right?
Thanks,
Vikas.

On 5/21/07, vikas rao <[EMAIL PROTECTED]> wrote:

 Hi,

Can someone point out a tutorial or some place where I can learn how to
read values from a .cfg file?
Say I have a Input.cfg file which goes like:
<com>
 <MyCompany>
   <Common
     inputDir="C:/vray/xml_files/"
      outputDir="C:/xm_output"
   />
</MyCompany>
</com>

Now, if I need the inputDir value inside my program, how do I do it?

Sorry that this is off topic from struts, but i cant seem to find some
sensible help.

Any help will be appreciated.
Thanks.
Vikas.

Reply via email to