Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Parsing xml documents folder to java program

Thread Tools

Parsing xml documents folder to java program

keioGirl keioGirl is offline
Junior Member
Join Date: Dec 2008
Posts: 2
Is it possible to parse the whole directory to java program to retrieves with xpath, not a specified xml document.
It is like if i put all of my xml files into c:\user1\data, then is it possilbe to tell my program that directory parth and then retrieve one xml after another to retrive with xpath. Actually, my files will be exist in Tomcat server. How can I do that? And I would like to know some examples which I can reference?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
32bit Program installed to the Program Files folder and not the PFx86 folder Windows 64bit 1 04-30-2009 01:30 PM
Parsing XML documents behind a firewall; java makes a connect to theactual DTD? Berlin Brown Java 1 04-18-2008 05:07 PM
Parsing HTML/XML documents Python 2 04-26-2007 07:57 PM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
Attributes always empty when parsing XML documents Andy Carson Java 8 11-17-2004 03:25 PM