/*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...we
can't possibly have 1 billion DOMElement* objects to parse a file with 1
billion DOMElements Please help me out with this atleast */
do
{

/*create a source file */

parser_.parse(source); //parser_ is a XercesDOMParser object

/*parse the file source*/

/*delete the source file*/

}while(dwbytes==bufsize);
/*some condition*/
-- 
View this message in context: 
http://www.nabble.com/Can-i-reuse-DOM-objects-in-a-while-loop-------tp15674582p15674582.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to