XML-Schema-Annotation Element
Definition und Verwendung
Annotation Element ist ein Element der obersten Ebene, eine vorbestimmte Schemaannotationen.
Elementinformationen
- Übergeordnetes Element: jedes Element
Grammatik
<annotation
id=ID
any attributes
>
(appinfo|documentation)*
</annotation>
id=ID
any attributes
>
(appinfo|documentation)*
</annotation>
(* Zeichen erklärt, dass das Element null oder mehrere Male in der Annotation Element auftreten kann.)
Immobilien | Beschreibung |
---|---|
Identifikation | Optional. Die eindeutige Kennung des Elements. |
alle Attribute | Optional. Es gibt andere Attribute nicht Schema-Namensraum. |
Beispiel 1
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
<xs:annotation>
<xs:appinfo>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
Vollständige XML - Schema - Referenz