Store and retrieve XML documents