I've tried to find an answer to this everywhere but to now avail....
I have an XML/XSL file that displays a webpage. The XSL has :
<!--Refresh the page every X seconds-->
because I want the page to refresh every few seconds. The XML file is being updated by a .NET application about every 30 seconds. So basically I want the application to update the XML page and the page to refresh every about 30 seconds also to show the changes.
My problem is that every so often the refresh happens at the exact second that the XML is being written and the file isn't complete yet. It then displays the error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Is there a way to fix this because the update stops and the page never restarts the refresh process again.