Skip to Content
Former Member
Nov 16, 2006 at 10:10 AM

XML Escaping in ABAP via CL_IXML Library?


Hello Partners:

I was going through some work of XML integration of SAP with a third-party. But came across an issue:

The text descriptions we are sending within an XML tag has certain special characters like '&'. But the XML parser is <i>not escaping</i> it. Hence its replacing '&' with '&amp;' in the XML data string. So now I need to understand how can we implement escaping via ABAP for generated XML strings? Can you all please help me to understand which methods to use and how?

It will be much appreciated.

Thanks in advance.

Vivek Singh.