Sotring quotes in text in xml element


#1

I am trying to store python scripts in a project file for our application using XmlElement. Everything works fine as long as we don’t use triple quotes in our scripts, which are a critical part of python programming. It seems like XmlElement converts quote chars to " in the text stream and then doesn’t convert them back when reading it. Is there anything we can do about this? thanks.


#2

I just tried adding “”" as an attribute and as a text element, and in both cases, it worked perfectly… What are you doing that breaks it?


#3

We were using an old version :slight_smile: Replacing the illegal characters must have been a recent version. Thanks once again for your quick response.