Re:Creating new backend - ... (XMLSerializer and CDATA)



Hi
    The backend xml files store the text as CDATA e.g.
<item>
<description><![CDATA[text text text]]></description>
</item>
So, I need to create a proper definition of the document structure 
for it to be properly parsed.
I searched in the net but it seems there is some problem with
XMLSerializer and reading CDATA. Using the serializer in the normal
way assigns no text to description which has been defined as
public class Item {
[XmlElement ("description")] public string Description ="";
}

If anybody here knows any solution or pointer then it would be of
immense help. My knowledge of XML Serialization is pretty limited :((

Thanks once again in advance,
- Bera



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]