Use rexml for XML data generation
Land @wchen-r7 support for rexml