Experts,
I am looking for the help in parsing special characters in XML using boost.
Original Text:
<module>'Admin'</module>
Exported Text: <module>'Admin'</module>
Using the below code:
ptree xmlTree;
read_xml("org.txt",xmlTree,boost::property_tree::xml_parser::trim_whitespace);
std::string filePath("outFile.txt");
xml_writer_settings<char> settings(' ', 4);
boost::property_tree::write_xml(filePath, xmlTree, std::locale(),settings);
Any help is highly appreciated
Regards,
UJ