XML Schema องค์ประกอบเอกสาร
ความหมายและการใช้งาน
องค์ประกอบของเอกสารบันทึกย่อป้อนข้อความในคี องค์ประกอบนี้จะต้องอยู่ภายในองค์ประกอบคำอธิบายประกอบ
องค์ประกอบข้อมูล
- องค์ประกอบหลัก: คำอธิบายประกอบ
ไวยากรณ์
<documentation
source=URI reference
xml:lang=language>
Any well-formed XML content
</documentation>
source=URI reference
xml:lang=language>
Any well-formed XML content
</documentation>
属性 | 描述 |
---|---|
source | 可选。规定应用程序信息的来源。 |
xml:lang | 可选。规定内容中使用的语言。 |
ตัวอย่างที่ 1
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
<xs:annotation>
<xs:appinfo>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
XML Schema สมบูรณ์อ้างอิง