Convert Cary to XML