XML Şeması açıklama Öğesi
❮ Eksiksiz XML Şeması Referansı
Tanım ve Kullanım
Açıklama öğesi, şema yorumlarını belirten bir üst düzey öğedir. Yorumlar satır içi dokümantasyon görevi görür.
Eleman Bilgileri
- Ana öğeler: Herhangi bir öğe
Sözdizimi
<annotation
id=ID
any attributes
>
(appinfo|documentation)*
</annotation>
(* işareti, öğenin açıklama öğesi içinde sıfır veya daha fazla kez bulunabileceğini bildirir)
Attribute | Description |
---|---|
id | Optional. Specifies a unique ID for the element |
any attributes | Optional. Specifies any other attributes with non-schema namespace |
örnek 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>
❮ Eksiksiz XML Şeması Referansı