harshabi wrote:
Hello all, I am using the DOMWriter::writeNode() call to write the file on to the hard disk.. Later on i am supposed to validate the xml written.... but it seems that writeNode call doesnt write the file until i use the XMLPlatform::terminate call. How can i make writeNode Commit writing the file on the hard disk immediately???
The file is closed (and flush to disk) when the LocalFileFormatTarget specified in the writeNode call is destructed; just be sure that it goes out of scope before trying to access the file.
Alberto
