عنصر documentation الخاص بـ XML Schema

التعريف والاستخدام

يوضح عنصر documentation النصوص التعريفية في schema. يجب أن يكون هذا العنصر داخل عنصر annotation.

معلومات العنصر

مرة الظهور غير محدود
العنصر الأم التعليق
المحتوى أي محتوى XML مهندس بشكل صحيح.

النحو

<documentation
source=reference URI
xml:lang=language
>
أي محتوى XML مهندس بشكل صحيح
</documentation>
خصائص وصف
source اختياري. يحدد مصدر معلومات التطبيق.
xml:lang اختياري. يحدد اللغة المستخدمة في المحتوى.

مثال

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
  <xs:appInfo>ملاحظة CodeW3C.com</xs:appInfo>
  <xs:documentation xml:lang="en">
  هذا النموذج يحدد ملاحظة CodeW3C.com!
  </xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>