Click to return to the XML (Extensible Markup Language) home page    
datatype Element     Element Element     XML Schema Preview    
Web Workshop  |  XML (Extensible Markup Language)

description Element


Provides documentation about an ElementType or AttributeType element.

Syntax

<description>

Element Information

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.

Remarks

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.

Example

<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>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.