XML Schema annotation ਤੱਤ

ਪਰਿਭਾਸ਼ਾ ਅਤੇ ਵਰਤੋਂ

annotation ਤੱਤ ਇੱਕ ਉੱਚ ਤੱਤ ਹੈ ਜੋ schema ਦੀਆਂ ਟਿੱਪਣੀਆਂ ਨੂੰ ਨਿਰਧਾਰਤ ਕਰਦਾ ਹੈ。

ਟਿੱਪਣੀ:ਟਿੱਪਣੀ: ਇਹ annotation ਤੱਤ ਸ਼ਾਖਾ ਦੀਆਂ ਟਿੱਪਣੀਆਂ ਨੂੰ ਨਿਰਧਾਰਤ ਕਰਦਾ ਹੈ。

ਤੱਤ ਸੂਚਨਾ

ਪ੍ਰੋਜੈਕਟ ਵਰਣਨ
ਦਿਸ਼ਾ

ਮੂਲ ਤੱਤ ਵਿੱਚ ਸਿੰਘੇ ਵਾਰ

ਮੂਲ ਤੱਤ

ਕੋਈ ਤੱਤ

ਸਮੱਗਰੀ appinfo、documentation

ਵਿਧੀ

<annotation
id=ID
ਕੋਈ ਵਿਸ਼ੇਸ਼ਤਾ
>
(appinfo|documentation)*
</annotation>

(* ਸਿੰਹਾਂ ਚਿੰਨ੍ਹ ਨਾਲ ਘੋਸ਼ਿਤ ਹੈ ਕਿ ਇਹ ਤੱਤ annotation ਤੱਤ ਵਿੱਚ ਸਿੰਘੇ ਵਾਰ ਜਾਂ ਬਹੁਤ ਵਾਰ ਦਿਖਾਈ ਦੇ ਸਕਦਾ ਹੈ)

ਵਿਸ਼ੇਸ਼ਤਾ ਵਰਣਨ
id ਚੋਣੀ ਹੋਈ। ਇਸ ਤੱਤ ਦਾ ਅਨੂਠਾ ਪਹਿਚਾਣ ਨੰਬਰ
ਕੋਈ ਵਿਸ਼ੇਸ਼ਤਾ اختیاری۔ باضابطہ نامسپاچ نامسپاچ کی کسی دیگر اپرائز کو مقرر کرتا ہے۔

مثال 1

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
  <xs:appInfo>کدوو3 سی نوٹ</xs:appInfo>
  <xs:documentation xml:lang="en">
  اس شیماس نے کدوو3 سی کی نوٹ کا تعریف کیا!
  </xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>