Mar 22, 2005 #1 P pelican Member Joined Feb 22, 2005 Messages 7 Hi, is there any way to serialize a collection into xml? ive tried using [XmlRoot] , [XmlType] in the collection class but cant. Please advise.
Hi, is there any way to serialize a collection into xml? ive tried using [XmlRoot] , [XmlType] in the collection class but cant. Please advise.
Mar 23, 2005 #2 PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,155 Location Lancashire, UK User Rank *Expert* Any chance you could show what code you have so far? Are you using the XmlSerializer class within the framework?
Any chance you could show what code you have so far? Are you using the XmlSerializer class within the framework?
May 11, 2005 #3 P pelican Member Joined Feb 22, 2005 Messages 7 i solve my problem using [XmlArray("Plural")] [XmlArrayItem("Single",typeof(classtype))]