xml to BD