XML स्कीमा दस्तावेज़ीकरण तत्व
❮ पूर्ण XML स्कीमा संदर्भ
परिभाषा और उपयोग
दस्तावेज़ीकरण तत्व का उपयोग स्कीमा में टेक्स्ट टिप्पणियों को दर्ज करने के लिए किया जाता है। यह तत्व एनोटेशन तत्व के अंदर जाना चाहिए।
तत्व जानकारी
- मूल तत्व: एनोटेशन
वाक्य - विन्यास
<documentation
source=URI reference
xml:lang=language>
Any well-formed XML content
</documentation>
Attribute | Description |
---|---|
source | Optional. Specifies the source of the application information |
xml:lang | Optional. Specifies the language used in the contents |
उदाहरण 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>
❮ पूर्ण XML स्कीमा संदर्भ