Please help - storing strings in XML file
Hi there,
Could someone help me with information on how to store strings of arbitrary length to the XML file and then retrieve them
into a CStdString (really std::string) object?
Also how to store arbitrary binary data in the XML files?
At the moment i have:
Code:
case simplexmlValueTypeString:
{
simplexmlValueString* pp = new simplexmlValueString();
if (data)
pp->Set((const wchar_t*)data);
else if (stringValue)
pp->Set(stringValue);
p=pp;
break;
}
but that doesn't work with lengthy strings!
Any ideas
Thanks for your help