Convert license to XML