XML Schema annotation కూడలి

నిర్వచనం మరియు వినియోగం

annotation కూడలి ఒక పైకప్పు కూడలి అని నిర్దేశించుట. ఇది schema యొక్క ప్రకటనను నిర్దేశిస్తుంది.

ప్రకటన:appinfo కూడలి (అనువర్తకం వాడే సమాచారం) మరియు documentation కూడలి (వినియోగదారులు చదివి లేదా వాడే ముక్కలు లేదా పాఠం) ను కలిగి ఉండవచ్చు.

కూడలి సమాచారం

పరిణామం వివరణ
కనబడే సంఖ్య

మూల కూడలిలో ఒకసారి మాత్రమే కనబడే అని నిర్దేశించుట.

మూల కూడలి

ఏదైనా కూడలి

విషయం 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>CodeW3C.com Note</xs:appInfo>
  <xs:documentation xml:lang="en">
  This Schema defines a CodeW3C.com note!
  </xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>