[xsd-users] a problem with CDATA part

kun lv lvkun2006 at gmail.com
Sun Mar 30 07:07:59 EDT 2008


 Hi!
I have a problem with serializing. One string-type param of the class
generated by XSD, have to be set as XML string.
example:
    param =  "<! [CDATA[       <A></A>
    ]]>"
The output should like the string under:
<param>
    <! [CDATA[
      <A></A>
    ]]>
<param>

but the result i got is
<param>
&lt;! [CDATA[
&lt;A&gt;&lt;/&gt;
]]&gt;
<param>

How can I  make the output what I want. Thanks a lot!!!



More information about the xsd-users mailing list