Serialization of items with quotes

Hi,

I have the following XML that I feed into the tree:

<?xml version="1.0"?>

I then try to serialize the tree back to XML with the serializeTree() method, but I get the following invalid XML as result:

<?xml version="1.0"?>

I have tried to set the serialization level, but none of the parameters seems to affect how the item text is serialized. Setting userDataAsCData to true works wonders for the user data. It would be nice to have a similar setting for the item text.

I have also tried to serialize to JSON, but the problem remains.

We use dhtmlxSuite_pro_2008Rel2_80512

Hi,

it’s possible to replace " with " in the serialized string:

tree.registerXMLEntity(""",""");
tree.setSerializationLevel(false,false,true);

Hei,

That worked wonders. Thank you.