<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 18, 2013 at 7:59 PM, Marcos Douglas <span dir="ltr"><<a href="mailto:md@delfire.net" target="_blank">md@delfire.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":lu" style="overflow:hidden"><?xml version="1.0" encoding="utf-8"?><br>
<root><br>
<connection login="uref" database="DB_REF"/><br>
<start dh="2013-06-18T13:54:57"/><br>
<line idDoc="912" status="ok"/><br>
<line idDoc="913" status="ok"/><br>
<line idDoc="914" status="ok"/><br>
<line...><br>
<finish dh="2013-06-18T13:54:58"/><br>
</root></div></blockquote></div><br><div class="gmail_default" style="font-family:tahoma,sans-serif">What about when opening first time the file, write head lines<br><br><?xml version="1.0" encoding="utf-8"?><br>
<root><br>
<connection login="uref" database="DB_REF"/><br>
<start dh="2013-06-18T13:54:57"/><br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">then when every log you write (simple with format function)<br>
<line idDoc="xxx" status="xxx"/><br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">And when finish it write the footer<br><br> <finish dh="2013-06-18T13:54:58"/><br>
</root><br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I mean writing directly to the file without put it in DOM or any kind of document in the memory.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div><br><br clear="all"><br>-- <br><div dir="ltr"><span style="font-family:courier new,monospace">I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3<br>
<br>Best Regards<br>Zaher Dirkey</span></div>
</div></div>