XML comparator implemented