Boost logo

Boost :

From: Ananya Maiti (ananyoevo_at_[hidden])
Date: 2019-11-07 11:35:19


Hi all,
I am trying to write some data in a xml file using boost write_xml()
function. My data has some angle brackets in it e.g. <![CDATA[name]]>
. But when I use boost::property_tree::write_xml() to write the data
node to xml file it escapes the angle brackets to &lt; and &gt; tags.
I even tried using unicode \x3C , \x3E but still it escapes them. Is
there any way to tell boost to not escape the characters in a non html
safe way ?

Regards,
Ananyo Maiti


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk