|
If you use the method described above, only the "employee"
element can use the specified complex types. Note that the child
element, "firstname" and "lastname", are surrounded by the
<sequence> indicator. This mean that the child elements must
appear in the same order as they are declared. You will learn
more about indicator in the XSD Indicators chapter.
2. The
"employee" element can have a type attribute that refer to the
name of the complex type to use:
|