Hi,
 
I'm using the castor command line source generator to create java source files based on xml schema and I have a huge xml instance which contains millions of records. I'd like to process huge xml instance as follows:
1.  retrive the top 10000 records to memory
2.  do business processing
3. remove the retrived 10000 records from memory
4. go back to the step 1
 
I'm wondering if there is a way to customize the castor's unmarshalling behavior to achieve above process. 
 
Thanks,
Jacky Lu

Reply via email to