add xml data reader and comparator