test if convert to xml