XML Document Synchronization

Ensuring that threads are not modifying the XML document simultaneously.