create_xml_data: fix range support