15. XML Schema tutorial

XML Schema describes the structure of XML documents.

In this tutorial, you will learn how to read and create the XML Schema language in your application, why XML Schema is more powerful than DTD, and how to use XML Schema in your application.

现在开始学习 XML Schema!

15.1. XML Schema instance

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="note">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="to" type="xs:string"/>
      <xs:element name="from" type="xs:string"/>
      <xs:element name="heading" type="xs:string"/>
      <xs:element name="body" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
</xs:schema>

15.2. XML Schema reference manual

In the rookie tutorial, we learn the complete XML Schema elements.

XML Schema reference manual

  • 15.2.49. XML Schema element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The schema element defines the root element of the schema...
    2025-10-25 13:35:21 UTC
  • 15.2.50. XML Schema selector element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The selector element specifies the XML path language (XPa...
    2025-10-25 13:35:24 UTC
  • 15.2.51. XML Schema sequence element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The sequence element requires the elements in the group t...
    2025-10-25 13:35:25 UTC
  • 15.2.52. XML Schema simpleContent element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The simpleContent element contains extensions or restrict...
    2025-10-25 13:35:23 UTC
  • 15.2.53. XML Schema simpleType element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The simpleType element defines a simple type that specifi...
    2025-10-25 13:35:22 UTC
  • 15.2.54. XML Schema union element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The union element defines a collection of multiple simple...
    2025-10-25 13:35:23 UTC
  • 15.2.55. XML Schema unique element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The unique element specifies that an attribute or element...
    2025-10-25 13:35:27 UTC
  • 15.2.56. XML Schema attribute element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The attribute element defines an attribute. Element i...
    2025-10-25 13:35:21 UTC

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.