Can you explain why you want to stop this from happening? Characters that have meaning in XML must be converted to character entities otherwise the resulting XML will not be parsed correctly. Or are you trying to dynamically build nested elements?
Ultimately, we need to send out an element that contains the following text:
I know that is the same as
Locations
But not to the system receiving it; it INSISTS on the CDATA wrapper.
To do this, we construct an element in the mapping like this:
<![CDATA[<![CDATA[]]]]]]>
Which looks good right up to the Web Service call when inspected. However the Web Service call converts it into this (we are logging the SOAP message on the server):
Hence the original post; how to stop conversion from ‘<’ to <.