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\
Simply you can do it as the following
by this code you enforce to insert a value on the xml tag and also the white space restriction will handle to remove the white space from the xml tag.