Closed GoogleCodeExporter closed 9 years ago
This character is an XML encoding of a newline (\n).
It is there because pugixml treats PCDATA whitespace as significant; to fix
this you'll have to trim the string that you get from child_value.
There used to be a parsing option that did this for all PCDATA elements; it may
be reimplemented again in the future, but for now manual trimming is the only
solution.
Original comment by arseny.k...@gmail.com
on 15 Dec 2013 at 1:13
Hi,
I've tried trimming the string but I can't seem to delete the chars.
Using:
val.erase(0,5) results in deleting the actual data I want. It seems that the
data exists within the string (as revealed by std::cout) but cannot be accessed
in the string.
Original comment by hepplewh...@gmail.com
on 15 Dec 2013 at 2:05
Ah. Got it sorted. Thanks.
Original comment by hepplewh...@gmail.com
on 15 Dec 2013 at 4:13
Original comment by arseny.k...@gmail.com
on 20 Dec 2013 at 5:49
Original comment by arseny.k...@gmail.com
on 15 Jan 2014 at 4:46
Original issue reported on code.google.com by
hepplewh...@gmail.com
on 14 Dec 2013 at 8:11