I have to build XML which contains a chunk like this:
xmlelement() and xmlforest() will html encode a string, so '<' becomes :lt; - I don't see any way of building the above except by doing it manually with string manipulation.
Code:
<abcd:ABLK> <abcd:innerBlock><![CDATA[<ABCDRequest>codename1,codename35</ABCDRequest>]]></abcd:innerBlock> </abcd:ABLK>