/*Can i reuse the DOM objects like XercesDOMParser object in a do... while
loop as follows.... or will it cause any memory leaks how to reuse them...*/
do
{
/*create a source file */
parser_.parse(source); //parser_ is a XercesDOMParser object
/*parse the file source*/
/*delete the source file*/
/*what function should i call to reuse parser_ object in the next iteration
so that memory consumption reduces */
}while(dwbytes==bufsize);
/*some condition*/
--
Regards
Sree Harsha Vardhana S.N
"When you want something, all the universe conspires in helping you to
achieve it."
--
Regards
Sree Harsha Vardhana S.N
"When you want something, all the universe conspires in helping you to
achieve it."