Work on converting locations records in db to XML format