When finishing off writing an XML file with XMLTextWriter at the point where you use WriteEndDocument, how can I add a vbCrLf to the end of this document?
As in XMLTextWriter writes
<a>
<b></b>
</a> <----- I want to add a carriage return after this line but using XMLTextWriter's WriteEndDocument method to finish the document does not add this. How can I achieve this without having to open a file stream again and adding it in a second pass over this file?
Thanks for replies.
As in XMLTextWriter writes
<a>
<b></b>
</a> <----- I want to add a carriage return after this line but using XMLTextWriter's WriteEndDocument method to finish the document does not add this. How can I achieve this without having to open a file stream again and adding it in a second pass over this file?
Thanks for replies.