I use the following code to get the XML string. But I only get a truncated XML string. I don't know why and how to solve the problem.
TiXmlPrinter printer;
doc.Accept(&printer);
int xmlStringLength = printer.Size();
const char* xmlString = printer.CStr();
Below is what I get:
<AlgorithmVariables>
<Variable Name="Int32.Variable">
<Int32>11</Int32>
</Variable>
<Variable Name="Double.Variable">
<Double>11.20</Double>
</Va
Thanks for any help.
Lily
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I use the following code to get the XML string. But I only get a truncated XML string. I don't know why and how to solve the problem.
TiXmlPrinter printer;
doc.Accept(&printer);
int xmlStringLength = printer.Size();
const char* xmlString = printer.CStr();
Below is what I get:
<AlgorithmVariables>
<Variable Name="Int32.Variable">
<Int32>11</Int32>
</Variable>
<Variable Name="Double.Variable">
<Double>11.20</Double>
</Va
Thanks for any help.
Lily