XML Schema annotatie Element
❮ Volledige XML-schemareferentie
Definitie en gebruik
Het annotatie-element is een element op het hoogste niveau dat schemaopmerkingen specificeert. De opmerkingen dienen als inline documentatie.
Elementinformatie
- Bovenliggende elementen: Elk element
Syntaxis
<annotation
id=ID
any attributes
>
(appinfo|documentation)*
</annotation>
(Het * teken geeft aan dat het element nul of meer keren kan voorkomen binnen het annotatie-element)
Attribute | Description |
---|---|
id | Optional. Specifies a unique ID for the element |
any attributes | Optional. Specifies any other attributes with non-schema namespace |
voorbeeld 1
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>W3Schools Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3Schools note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
❮ Volledige XML-schemareferentie