I know that XML is equivalent to browsing the database. I know XPath equivalent to knowing SQL knowing that Schema is equivalent to knowing the table, SCHEMA / XPath must understand, and, it is quite good to use it. I have a year of dreams, at least two years, now, some implementations, because Xmlbeans have been found, XMLBeans is for Schema generated, just like we have to generate CLASS in the database. This thing is Bean donated to Apache, from the famous door, is quite comprehensive for Schema support. Simple to see such a schema: xsd: element> Running Scomp Test.xsd, the generated Field class is as follows: Class Field {String getName (); void setname (String); string getLabel (); voidsetLabel (String);} If there is a complex nested complexType definition in Schema, the corresponding generated complex class and supports the type of array. For details, please refer to the main features of Getting Started with XMlbeans XMlbeans: The type generated by the SCHEMA generated Java type can read the corresponding Schema document, or after the DOM load data can be verified according to Schema. The corresponding schema definitions can be obtained by obtaining the corresponding schema definitions for XMLOBJECT. This is the DOM3 characteristics built XPath query powerful output to XML. (The simplest method is toString ()) Schema is a powerful type, including a tree type definition language. The definition of WebService is relying on Schema. Data table generated in Virual Studio is also converted to XSD first, then generates strong type DataSet according to XSD. The other power of Schema is the mutual reference between Schema. You can define some business metadata in language and then reference it in various other SHEMAs. And these definitions are based on QNAME distinguishing (similar to URL). A global SHEMA knowledge base can be generated, and you can create a common standard, such as an order / device description, and more. . And indicated in a Type, which WebService can provide this Type's related services. The powerful complex structure defined by Schema can be used in a variety of occasions, which have previously tried SCHEMA to define the input and output of the entire website page. At that time, the conditions were limited, and only XSL, sample data, and Database definitions were generated using SHEMA. Schema is just a definition.