Translating a database schema into XML