Re:Creating new backend - ... (XMLSerializer and CDATA)
- From: D Bera <dbera web gmail com>
- To: dashboard-hackers gnome org
- Subject: Re:Creating new backend - ... (XMLSerializer and CDATA)
- Date: Wed, 6 Jul 2005 21:21:20 -0400
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]