I Have a xml model like that:
<tag1>
...
<![CDATA[
<tag2/>
...
<![CDATA[
<tag3/>
...
]]]]><![CDATA[>
]]>
</tag1>
I try to use c# XmlSerializer but don't find a way to generate one CDATA wrapped by another. I try create inner CDATA and that add result to model and serialize that model, but can't do that, cause get InvalidOperationException, case CDATA block has ']]>'. As field in model for CDATA block i use XMLCDataSection. Do you have any idea?