switching to xml from rexml