Name

xs:documentation

Attributes

source

A URI pointing to additional information

xml:lang

A language identifier specifying which language is used by the documentation

Contents

Any well-formed XML, or nothing.

The xs:documentation element is used within xs:annotation elements to provide human-readable information—typically documentation about the components being defined in the schema. That information may be referenced by the source attribute or included directly in the xs:documentation element’s contents. There are no restrictions on the content of the xs:documentation element provided it is well formed.

Unlike nearly every other element in XML Schema, the xs:document element cannot have an id attribute.

Get XML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.