I ran into this as well, and found a similar fix here: http://stackoverflow.com/questions/14113923/rapidxml-print-header-has-undefined-methods...
rapidxml_iterators.hpp improvements