A mixed complex type element can contain attributes, elements, and text.
An XML element, "letter", that contains both text and other elements:
The Below schema declares the "letter" element:
Note: To enable character data to appear between the child-elements of "letter", the mixed attribute must be set to "true". The <xs:sequence> tag means that the elements defined (name, orderid and shipdate) must appear in that order inside a "letter" element.
We could also give the complexType element a name, and let the "letter" element have a type attribute that refers to the name of the complexType (if you use this method, several elements can refer to the same complex type):
Your Query was successfully sent!