The XML representation of the schema for schema documents is presented here

as a normative
part of the specification, and as an illustrative example of how the XML Schema
language can
define itself using its own constructs. The names of XML
Schema language types, elements, attributes and groups defined here
are evocative of their purpose, but are occasionally verbose.
There is some annotation in comments, but a fuller annotation will require
the use of embedded documentation facilities or a hyperlinked external
annotation for which tools are not yet readily available.
Since a schema document is an XML document, it has optional XML and doctype
declarations that are provided here for completeness. The root
element defines a new schema. Since this is a schema for
XML Schema: Structures, the references the XML Schema namespace itself.
]>
elementFormDefault="qualified" xml:lang="EN" targetNamespace="http://www.w3.org/2001/XMLSchema" version="Id: structures.xsd,v 1.2 2004/01/15 11:34:25 ht Exp "> The schema corresponding to this document is normative, with respect to the syntactic constraints it expresses in the XML Schema language. The documentation (within <documentation> elements) below, is not normative, but rather highlights important aspects of the W3C Recommendation of which this is a part The simpleType element and all of its members are defined in datatypes.xsd schemaLocation="http://www.w3.org/2001/xml.xsd"> Get access to the xml: attribute groups for xml:lang as declared on 'schema' and 'documentation' below This type is extended by almost all schema types to allow attributes from other namespaces to be added to user schemas. This type is extended by all types which allow annotation other than <schema> itself This group is for the elements which occur freely at the top level of schemas. All of their types are based on the "annotated" type by extension. This group is for the elements which can self-redefine (see <redefine> below). A utility type, not for public use A utility type, not for public use A utility type, not for public use #all or (possibly empty) subset of {extension, restriction} A utility type, not for public use A utility type, not for public use #all or (possibly empty) subset of {extension, restriction, list, union} source="http://www.w3.org/TR/xmlschema-1/#element-schema"/> maxOccurs="unbounded"/> default="" use="optional"/> use="optional"/> default="unqualified" use="optional"/> default="unqualified" use="optional"/> for maxOccurs for all particles use="optional"/> for element, group and attributeGroup, which both define and reference 'complexType' uses this source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"/> This branch is short for <complexContent> <restriction base="xs:anyType"> ... </restriction> </complexContent> Will be restricted to required or forbidden use="optional"> Not allowed if simpleContent child is chosen. May be overriden by setting on complexContent child. use="optional"/> make this a valid restriction per the REC source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/> Overrides any setting on complexType parent. make this a valid restriction per the REC No typeDefParticle group reference source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/> source="http://www.w3.org/TR/xmlschema-1/#element-complexType"/> A utility type, not for public use #all or (possibly empty) subset of {substitution, extension, restriction} The element element can be used either at the top level to define an element-type binding globally, or within a content model to either reference a globally-defined element or type or declare an element-type binding locally. The ref form is not allowed at the top level. maxOccurs="unbounded"/> use="optional"/> use="optional"/> maxOccurs="unbounded"/> maxOccurs="unbounded"/> source="http://www.w3.org/TR/xmlschema-1/#element-element"/> group type for explicit groups, named top-level groups and group references group type for the three kinds of group avoid a pblm with the Elt:All/Choice/Seq Particle derivation constraint maxOccurs="unbounded"/> Only elements allowed inside source="http://www.w3.org/TR/xmlschema-1/#element-choice"/> source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/> use="optional"/> simple type for the value of the 'namespace' attr of 'any' and 'anyAttribute' Value is ##any - - any non-conflicting WFXML/attribute at all ##other - - any non-conflicting WFXML/attribute from namespace other than targetNS ##local - - any unqualified non-conflicting WFXML/attribute one or - - any non-conflicting WFXML/attribute from more URI the listed namespaces references (space separated) ##targetNamespace or ##local may appear in the above list, to refer to the targetNamespace of the enclosing schema or an absent targetNamespace respectively A utility type, not for public use source="http://www.w3.org/TR/xmlschema-1/#element-attribute"/> id="attributeGroup"> source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup"/> source="http://www.w3.org/TR/xmlschema-1/#element-include"/> source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/> source="http://www.w3.org/TR/xmlschema-1/#element-import"/> source="http://www.w3.org/TR/xmlschema-1/#element-selector"/> in selectors use expressions per the following EBNF: Selector ::= Path ( '|' Path )* Path ::= ('https://www.w3.org/TR/xmlschema-1//')? Step ( '/' Step )* Step ::= '.' | NameTest NameTest ::= QName | '*' | NCName ':' '*' child:: is also allowed value="(https://www.w3.org/TR/xmlschema-1//)?(((child::)?((ic*:)?(ic*|*)))|.)(/(((child::)?((ic*:)?(ic*|*)))|.))*(|(https://www.w3.org/TR/xmlschema-1//)?(((child::)?((ic*:)?(ic*|*)))|.)(/(((child::)?((ic*:)?(ic*|*)))|.))*)*"/> in fields use expressions per the same EBNF as for selector, with the following change: Path ::= ('https://www.w3.org/TR/xmlschema-1//')? ( Step '/' )* ( Step | '@' NameTest ) value="(https://www.w3.org/TR/xmlschema-1//)?((((child::)?((ic*:)?(ic*|*)))|.)/)*((((child::)?((ic*:)?(ic*|*)))|.)|((attribute::|@)((ic*:)?(ic*|*))))(|(https://www.w3.org/TR/xmlschema-1//)?((((child::)?((ic*:)?(ic*|*)))|.)/)*((((child::)?((ic*:)?(ic*|*)))|.)|((attribute::|@)((ic*:)?(ic*|*)))))*"/> type of or derived from 'keybase'. source="http://www.w3.org/TR/xmlschema-1/#element-unique"/> source="http://www.w3.org/TR/xmlschema-1/#element-keyref"/> source="http://www.w3.org/TR/xmlschema-1/#element-notation"/> A utility type, not for public use A public identifier, per ISO 8879 source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/> source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/> source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/> notations for use within XML Schema schemas system="http://www.w3.org/2000/08/XMLSchema.xsd"/> system="http://www.w3.org/TR/1998/REC-xml-19980210"/> Not the real urType, but as close an approximation as we can get in the XML representation
2025年国内旅游收入预计将突破历史新高,以下是综合多方数据的预测与分析:
一、核心数据预测

工作时间:8:00-18:00
电子邮件
扫码二维码
获取最新动态
