XML documents as a data store