Pass HTML syntax through the Marketing Cloud XML API
|Knowledge Article Number||000213067|
If HTML syntax is passed into the XML API without being properly escaped then it can result in an error being returned. Depending on the HTML that is passed, it results in an error code 39 or 71.
In order to pass in HTML within the API XML, you need to convert it to the correct format. This conversion involves converting to XML Safe followed by URL encoding.
XML Safe encoding details
Changing a string to XML Safe involves replacing the five XML reserved characters with their correct escape sequence. Those five substitutions are: