Good morning,

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:

My pugiXML attempt:

XML file:

Can you help me get one to work?

Thanks for all suggestions,

Alec Taylor

PS: Preferably I would like the RapidXML one to work.

Figured out the rapidxml version.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.