Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: bug within System.Xml.Serialization? bug within System.Xml.Serialization?To: NULL Date: 4/3/2006 4:34:00 AM
hello - i am just a beginner of xml,
i want to produce the following xml-output:
<PROTOCOL xsi:type="PROTOCOL-TYPE">hugo</PROTOCOL>
with the following c#-source:
public enum PROTOCOLTYPEPOLICY
{
hugo,
lulli
}
[XmlElement(DataType = "PROTOCOLTYPEPOLICY")]
public PROTOCOLTYPEPOLICY PROTOCOL;
why does it not work?
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
