I want to declare an element to be included in a complex type declaration, and the element has a mandatory attribute: \"option=MyOption\", but the value of the \"option\
You need to modify the definition of the "SpecialOption" element to include the required attribute. Update this code:
to this:
With this change your complex type will contain the required "Option" attribute on all instances of the "SpecialOption" element in the "SpecialOptions" complex type. Declaring the "Option" attribute to be of type xs:string
will allow any value to be passed in this field.