Forum Discussion
Aaronliu
14 years agoFrequent Contributor
#1,<![CDATA[Document]]>
the <![CDATA[]]> expression is to make sure the document won't be parsed. so ensure that the format is correct in <x:ABC><![CDATA[document]]></x:ABC>
#2,the second option is to use < > to replace<> in <x:ABC><test>Content<test></x:ABC>
example:
<EventType><![CDATA[<MyContext xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<A>a</A>
<B>b</B>
...
]]></EventType>
the <![CDATA[]]> expression is to make sure the document won't be parsed. so ensure that the format is correct in <x:ABC><![CDATA[document]]></x:ABC>
#2,the second option is to use < > to replace<> in <x:ABC><test>Content<test></x:ABC>
example:
<EventType><![CDATA[<MyContext xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<A>a</A>
<B>b</B>
...
]]></EventType>