XmlRootAttribute no use

Oct 23, 2008 at 10:12 AM
   

[System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/TabsGettingResponse.xsd", IsNullable=false)]
this is auto genearte by the xsd2code,but I doesnnt to  use the attribute.what should I do?
thanks
Oct 23, 2008 at 1:47 PM
Thank for your post.
This attribute is generated by XmlCodeExporter which is a class of Framework 2.0.
I am not sure that this attribute is important for serialization. I think you can remove it.
I can delete this attribute in a future version of Xsd2Code.
Pascal.
Jan 20, 2009 at 8:45 PM
2 pcabanel: Please do not remove this attribute, please make optional checkbox for this attribute if it really neccessary.
2 zhaojc: Could you please describe which problems you have with this attribute?