(draft) xml converter