15.2.46. XML Schema notation element

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

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

Definition and usage

The notation element describes the format of non-XML data in an XML document.

Element information

  • 父元素: Schema

Grammar

<notation
id=ID
name=NCName
public=anyURI
system=anyURI
*any attributes*
>
(annotation?)
</notation>

(? The symbol declares that the element can appear zero or once in the notation element. )

Attribute

Description

Id

Optional. Specifies the unique ID of the element.

Name

Necessary. Specify a name for the element.

Public

Necessary. The URI reference that corresponds to the public identifier.

System

The URI reference that corresponds to the system identifier.

Any attributes

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

Example 1

The following example displays notation in gif and jpeg formats by using a view application view.exe:

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:notation name="gif" public="image/gif" system="view.exe"/>
<xs:notation name="jpeg" public="image/jpeg" system="view.exe"/>
<xs:element name="image">
  <xs:complexType>
    <xs:simpleContent>
      <xs:attribute name="type">
        <xs:simpleType>
          <xs:restriction base="xs:NOTATION">
            <xs:enumeration value="gif"/>
            <xs:enumeration value="jpeg"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>
</xs:schema>
文档中的 "image" 元素是这样的:
<image type="gif"></image>

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.