xs:annotation

Purpose Allows additional information to be associated with an object, e.g. comments (xs:documentation) or application-related data (xs:appinfo).
Parent element

Essentially any element defined by the W3C XML Schema except xs:annotation, xs:appinfo and xs:documentation.

See also tsd:schemaInfo, tsd:elementInfo and tsd:attributeInfo.

Child elements xs:appinfo, xs:documentation
Attributes None

Example

The following example shows an xs:annotation element containing a tsd:schemaInfo element

    <xs:schema ...>
      <xs:annotation>
        <xs:appinfo>
          <tsd:schemaInfo name = "NEW_schema">
            <tsd:doctype name = "Customer">
              <tsd:logical>
                <tsd:content>open</tsd:content>
              </tsd:logical>
            </tsd:doctype>
            <tsd:doctype name = "Order">
              <tsd:logical>
                <tsd:content>open</tsd:content>
              </tsd:logical>
            </tsd:doctype>
          </tsd:schemaInfo>
        </xs:appinfo>
      </xs:annotation>
      .
      .
      .
    </xs:schema>