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.33. XML Schema choice element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The choice element of XML Schema allows only one of the e...
    2025-10-25 13:35:26 UTC
  • 15.2.34. XML Schema complexContent element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The complexContent element defines extensions or restrict...
    2025-10-25 13:35:26 UTC
  • 15.2.35. XML Schema complexType element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The complexType element defines a complex type. Elements ...
    2025-10-25 13:35:26 UTC
  • 15.2.36. XML Schema documentation element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The documentation element enters a text comment in the sc...
    2025-10-25 13:35:22 UTC
  • 15.2.37. XML Schema element element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The element element defines an element. Element infor...
    2025-10-25 13:35:23 UTC
  • 15.2.38. XML Schema extension element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The extension element extends the elements of simpleType ...
    2025-10-25 13:35:22 UTC
  • 15.2.39. XML Schema field element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The field element specifies an XPath expression that spec...
    2025-10-25 13:35:22 UTC
  • 15.2.40. XML Schema group element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The group element is used to define the group of elements...
    2025-10-25 13:35:24 UTC
  • 15.2.41. XML Schema import element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The import element is used to add multiple schema with di...
    2025-10-25 13:35:25 UTC
  • 15.2.42. XML Schema include element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The include element is used to add multiple schema with t...
    2025-10-25 13:35:22 UTC
  • 15.2.43. XML Schema key element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The key element specifies that an attribute or element va...
    2025-10-25 13:35:22 UTC
  • 15.2.44. XML Schema keyref element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The keyref element specifies that the value of an attribu...
    2025-10-25 13:35:21 UTC
  • 15.2.45. XML Schema list element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The list element defines a collection of individual simpl...
    2025-10-25 13:35:21 UTC
  • 15.2.46. XML Schema notation element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The notation element describes the format of non-XML data...
    2025-10-25 13:35:24 UTC
  • 15.2.47. XML Schema redefine element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The redefine element allows you to redefine simple and co...
    2025-10-25 13:35:26 UTC
  • 15.2.48. XML Schema restriction element

    XML Schema 参考手册 完整 XML Schema 参考手册 Definition and usage ¶ The restriction element defines constraints on simpleType...
    2025-10-25 13:35:25 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.