EXT-Pennington, Dale K <[EMAIL PROTECTED]> writes:

> My understanding is I want to call parser -> release to free up the
> memory used by the document as soon as possible.

By default the document is owned by the parser and is released when
the parser is destroyed. If you want to release the document yourself,
you need to set the UserAdoptsDOMDocument property:

parser->setFeature (XMLUni::fgXercesUserAdoptsDOMDocument, true);

Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to