First of all, kudos to the authors on a great utility!
My question involves a schema containing a mixed complex type.
The XML I'm trying to represent might look like this:
name="a field name">the field value</field>
The cooresponding XSD looks like this:
<xs:complexType name="Field" mixed="true">
<xs:attribute name="name" type="xs:string" />
I'm wondering if anybody can comment on why Xsd2Code exposes the value of the node as a List<string> rather then just a string?
public List<string> Text
if ((this.textField == null))
this.textField = new List<string>();
this.textField = value;
My tests show it will always be a list of length 0 or 1. Is there a different way to represnt this in the XSD that I may have overlooked?