implement xml db