XML Schema မှတ်ချက် Element
❮ XML Schema အကိုးအကားကို အပြီးသတ်ပါ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
မှတ်ချက်ဒြပ်စင်သည် schema မှတ်ချက်များကို သတ်မှတ်ပေးသည့် ထိပ်တန်းအဆင့်ဒြပ်စင်ဖြစ်သည်။ မှတ်ချက်များသည် inline documentation အဖြစ် ဆောင်ရွက်သည်။
ဒြပ်စင်အချက်အလက်
- ပင်မဒြပ်စင်များ- မည်သည့်ဒြပ်စင်
အထားအသို
<annotation
id=ID
any attributes
>
(appinfo|documentation)*
</annotation>
(* အမှတ်အသားသည် မှတ်ချက်ဒြပ်ဒြပ်အတွင်းတွင် သုည သို့မဟုတ် ထို့ထက်ပိုသော အကြိမ်များ ဖြစ်ပေါ်နိုင်သည်ကို ကြေငြာသည်)
Attribute | Description |
---|---|
id | Optional. Specifies a unique ID for the element |
any attributes | Optional. Specifies any other attributes with non-schema namespace |
ဥပမာ ၁
<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>
❮ XML Schema အကိုးအကားကို အပြီးသတ်ပါ။