Boost logo

Boost Users :

Subject: [Boost-users] String serialization
From: Robert Bielik (robert.bielik_at_[hidden])
Date: 2011-05-09 13:14:24


I'd like to (XML) serialize a non-STL string, and I'd like it to serialize in the same manner as STL string (i.e. just the plain string as CDATA).

I can do it like:
<myString>
    <s>The string...</s>
</myString>

but I'd like:
<myString>The string...</myString>

the serialization implementation of std::string is a menace to decipher...

TIA
/Rob


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net