عنصر documentation في XML Schema

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

يضيف نص التعليق إلى schema. يجب أن تكون هذه العنصر داخل عنصر annotation.

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

عدد المرات التي تظهر فيها غير محدود
العدد الإعتمادي 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>