I've been trying with various libraries (everything from pugixml to RapidXML) but have been unable to parse a simple XML file. I want to grab all the inner text of each page->text into separate std::string's., so 1 page per std::string.
My RapidXML attempt: ideone.com/XWylb
My pugiXML attempt: ideone.com/RzN6X
XML file: ideone.com/wrG13
Can you help me get one to work?
Thanks for all suggestions,
PS: Preferably I would like the RapidXML one to work.