but there is a delay in writing the file
What order of magnitude is the delay?
In reply to Re: XML-Parser with web application by Anonymous Monk in thread XML-Parser with web application by sanku