XML Schema documentation 요소
정의와 사용법
documentation 요소는 schema에서 텍스트 주석을 입력합니다. 이 요소는 annotation 요소 내에 위치해야 합니다.
요소 정보
출현 횟수 |
제한 없음 |
부모 요소 |
annotation |
내용 |
모든 형식이 올바른 XML 내용. |
문법
<documentation
source=URI reference
xml:lang=language
>
Any well-formed XML content
</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>