XML Schema 参考手册 完整 XML Schema 参考手册 The documentation element enters a text comment in the schema. The element must be within the annotation element. 父元素: Annotation Attribute Description Source Optional. Specify the source of application information. Xml:lang Optional. Specifies the language used in the content.Definition and usage ¶
Element information ¶
Grammar ¶
<documentation
source=URI reference
xml:lang=language>
Any well-formed XML content
</documentation>
Example 1 ¶
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>RUNOOB Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a RUNOOB note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>