<p>A XML documents management method and system are provided, the method includes steps: A. storing the documents modification log; B. when receiving the request for restoring the documents from a user, restoring the current documents of the documents requested by the user for restoring to the version that the user needs according to the modification log corresponding to the documents requested by the user for restoring. The invention can realize the roll back operation for documents, enable the user restoring the documents to the previous version, thereby provide the remediation for the error operation of user's documents.</p>