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 스키마 참조