XML Skema annotasie Element
❮ Voltooi XML-skemaverwysing
Definisie en gebruik
Die annotasie-element is 'n topvlakelement wat skemaopmerkings spesifiseer. Die kommentaar dien as inlyn dokumentasie.
Elementinligting
- Ouerelemente: Enige element
Sintaksis
<annotation
id=ID
any attributes
>
(appinfo|documentation)*
</annotation>
(Die *-teken verklaar dat die element nul of meer keer binne die annotasie-element kan voorkom)
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>
❮ Voltooi XML-skemaverwysing