File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes XML Parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "XML Parsing" Watch "XML Parsing" New topic
Author

XML Parsing

david garcia
Greenhorn

Joined: Nov 06, 2004
Posts: 5
Hello everyone, i am having some problems with a parsing.

this is my xml file



This is the code that parses the xml file:



Cause of the while loop i can�t create the object passing all those parameters Config config = new Config(name, path, size, date, pattern, period, pathzip).

What i want to do exactly is:
List list = new ArrayList();
for each project node{
get all the child nodes
create a new Config object with all those values
add the config object to the list
}


Any help? i am stuck at this...
david garcia
Greenhorn

Joined: Nov 06, 2004
Posts: 5
sorry, the parameters i have to pass to the constructor are:
name, path, sizeHigher, sizeSmaller, fechaFrom, fechaUntil, pattern, period, pathZip.

Sorry for the mistake
 
 
subject: XML Parsing
 
Threads others viewed
static read-only datatype (class) as Servlet?
composition?
Why is this happening?
Fresher ! need help
Displaying DOM using swing
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com