15.2.44. XML Schema keyref element

发布时间 : 2025-10-25 12:23:22 UTC      

Page Views: Stats unavailable

XML Schema 参考手册 完整 XML Schema 参考手册

Definition and usage

The keyref element specifies that the value of an attribute or element (or set of values) corresponds to the value of a specified key or unique element.

The keyref element must contain the following elements in order:

  • There must be one and only one selector element.

  • The selector element contains an XPath expression that specifies a set of elements in which the value specified by field must be unique.

Element information

  • 父元素: Element

Grammar

<keyref
id=ID
name=NCName
refer=QName
*any attributes*
>
(annotation?,(selector,field+))
</include>

(? The symbol declares that in the key element, the element can appear zero or once, and the + symbol declares that the element must appear one or more times. )

Attribute

Description

Id

Optional. Specifies the unique ID of the element.

Name

Necessary. Specifies the name of the key element.

Refer

Necessary. Specifies the name of the key or unique element defined in the schema (or other schema indicated by the specified namespace). The refer value must be a qualified name (QName). Types can include namespace prefixes.

Any attributes

Optional. Specifies any other attributes with the non-schema namespace.

XML Schema 参考手册 完整 XML Schema 参考手册

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.