Content management systems provide access control over your XML resources. They will typically integrate with your editor so you can "check out" documents for editing. Some examples (both commercial):
XML query engines typically index your documents ‘in place’. An example: