Hi, i have the following piece of xml:
<MyField>
<FieldName>Blah</FieldName>
<ValueFormatting xsi:type="DateFormatter">
<Format>dd/MM/yy</Format>
</ValueFormatting>
</MyField>
in my xsd, how can i limit or restrict the values that are supplied for the xsi:type attribute on the ValueFormatting element, as i have a list of four or five types that are valid (i.e. TextFormatter, NumberFormatter, DateFormatter, etc.)?
Also, in my xsd, how can i enforce that the attribute name is "xsi:type"? Is it correct that I could probably get away with having an attribute name of "type" instead, but then i could be risking a collision if "type" is declared in other namespaces?
Thanks!