xmldatabase implementation