Provides documentation about an ElementType or AttributeType element.
<description>
Number of occurrences | 1 |
Parent elements | AttributeType, ElementType, Schema, group, element, attribute |
Child elements | Any well-formed XML content. |
Requires closing tag | Yes. XML Schema is an XML grammar, and like all XML grammars, all tags must have closing tags to satisfy the definition of well-formed. |
Information supplied within the description element is not used in validation, but provides a standardized way to supply information that can be retrieved by tools.
<ElementType name="Book"> <description> This is how we describe the books we sell. Be sure to specify ageGroup! </description> <element type="ageGroup"> <default>ADULT</default> </element> </ElementType>