To parse an XML file in java whose path is to be got dynamically

Posted by coolie_88 on Stack Overflow See other posts from Stack Overflow or by coolie_88
Published on 2008-12-29T07:30:45Z Indexed on 2010/06/14 7:02 UTC
Read the original article Hit count: 240

Filed under:
|
|
|
|

Hi,

I have a class Test in C:/proj/test_xml/Test.java. Given parser.parse("test.xml"); I need a way to parse test.xml whether it is in current directory, proj or in C:/ Also, the solution should not make use of java.io

Thanks

© Stack Overflow or respective owner

Related posts about Xml

Related posts about directory