Sax parsing from web service
- by donald
Hey,
I am trying to parse xml file using Sax parser. let's say xml is like this..
I want to count the number of times b element is present (its variable)
And i want this count before parsing, so that I can declare an array of appropriate size.
One way is to run count then separately and other way is dynamic array (List Array)
Is there any other better way to do this?
Also, Is it possible to make an ArrayList of my class..? because I want an array of type myClass.