YouTip LogoYouTip

Schema Complex Mixed

## Complex Types with Mixed Content XML element, "letter", containing text and other elements: Dear Mr.John Smith. Your order 1032 will be shipped on 2001-07-13. The following schema declares the "letter" element: **Note:** For character data to appear between the child elements of "letter", the mixed attribute must be set to "true". The tags (name, orderid, and shipdate) mean that the defined elements must appear in sequence within the "letter" element. We can also give a name to the complexType element and have the type attribute of the "letter" element reference this name of the complexType (by this method, multiple elements can reference the same complex type): <xs:element name="orderid" typ
← Schema Complex IndicatorsSchema Complex Text β†’