📄 xmlschema
字号:
</annotation> </attribute> <attribute name="mixed" type="boolean" use="default" value="false"> <annotation> <documentation xml:lang="en"> Not allowed if simpleContent child is chosen. May be overriden by setting on complexContent child.</documentation> </annotation> </attribute> <attribute name="abstract" type="boolean" use="default" value="false"/> <attribute name="final" type="derivationSet"/> <attribute name="block" type="derivationSet" use="default" value=""/> </extension> </complexContent> </complexType> <complexType name="topLevelComplexType"> <complexContent> <restriction base="complexType"> <sequence> <element ref="annotation" minOccurs="0"/> <group ref="complexTypeModel"/> </sequence> <attribute name="name" type="NCName" use="required"/> </restriction> </complexContent> </complexType> <complexType name="localComplexType"> <complexContent> <restriction base="complexType"> <sequence> <element ref="annotation" minOccurs="0"/> <group ref="complexTypeModel"/> </sequence> <attribute name="name" use="prohibited"/> </restriction> </complexContent> </complexType> <complexType name="restrictionType"> <complexContent> <extension base="annotated"> <sequence> <choice> <group ref="typeDefParticle" minOccurs="0"/> <group ref="simpleRestrictionModel" minOccurs="0"/> </choice> <group ref="attrDecls"/> </sequence> <attribute name="base" type="QName" use="required"/> </extension> </complexContent> </complexType> <complexType name="complexRestrictionType"> <complexContent> <restriction base="restrictionType"> <sequence> <element ref="annotation" minOccurs="0"/> <group ref="typeDefParticle" minOccurs="0"/> <group ref="attrDecls"/> </sequence> </restriction> </complexContent> </complexType> <complexType name="extensionType"> <complexContent> <extension base="annotated"> <sequence> <group ref="typeDefParticle" minOccurs="0"/> <group ref="attrDecls"/> </sequence> <attribute name="base" type="QName" use="required"/> </extension> </complexContent> </complexType> <element name="complexContent" id="complexContent"> <annotation> <documentation xml:lang="en" source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/> </annotation> <complexType> <complexContent> <extension base="annotated"> <choice> <element name="restriction" type="complexRestrictionType"/> <element name="extension" type="extensionType"/> </choice> <attribute name="mixed" type="boolean"> <annotation> <documentation xml:lang="en"> Overrides any setting on complexType parent.</documentation> </annotation> </attribute> </extension> </complexContent> </complexType> </element> <complexType name="simpleRestrictionType"> <complexContent> <restriction base="restrictionType"> <sequence> <element ref="annotation" minOccurs="0"/> <group ref="simpleRestrictionModel" minOccurs="0"/> <group ref="attrDecls"/> </sequence> </restriction> </complexContent> </complexType> <complexType name="simpleExtensionType"> <complexContent> <restriction base="extensionType"> <sequence> <annotation> <documentation xml:lang="en"> No typeDefParticle group reference</documentation> </annotation> <element ref="annotation" minOccurs="0"/> <group ref="attrDecls"/> </sequence> </restriction> </complexContent> </complexType> <element name="simpleContent" id="simpleContent"> <annotation> <documentation xml:lang="en" source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/> </annotation> <complexType> <complexContent> <extension base="annotated"> <choice> <element name="restriction" type="simpleRestrictionType"/> <element name="extension" type="simpleExtensionType"/> </choice> </extension> </complexContent> </complexType> </element> <element name="complexType" substitutionGroup="redefinable" type="topLevelComplexType" id="complexType"> <annotation> <documentation xml:lang="en" source="http://www.w3.org/TR/xmlschema-1/#element-complexType"/> </annotation> </element> <simpleType name="derivationControl"> <annotation> <documentation xml:lang="en"> A utility type, not for public use</documentation> </annotation> <restriction base="NMTOKEN"> <enumeration value="substitution"/> <enumeration value="extension"/> <enumeration value="restriction"/> </restriction> </simpleType> <simpleType name="reducedDerivationControl"> <annotation> <documentation xml:lang="en"> A utility type, not for public use</documentation> </annotation> <restriction base="derivationControl"> <enumeration value="extension"/> <enumeration value="restriction"/> </restriction> </simpleType> <simpleType name="blockSet"> <annotation> <documentation xml:lang="en"> #all or (possibly empty) subset of {substitution, extension, restriction}</documentation> <documentation xml:lang="en"> A utility type, not for public use</documentation> </annotation> <union> <simpleType> <restriction base="token"> <enumeration value="#all"/> </restriction> </simpleType> <simpleType> <list itemType="derivationControl"/> </simpleType> </union> </simpleType> <simpleType name="derivationSet"> <annotation> <documentation xml:lang="en"> #all or (possibly empty) subset of {extension, restriction}</documentation> <documentation xml:lang="en"> A utility type, not for public use</documentation> </annotation> <union> <simpleType> <restriction base="token"> <enumeration value="#all"/> </restriction> </simpleType> <simpleType> <list itemType="reducedDerivationControl"/> </simpleType> </union> </simpleType> <complexType name="element" abstract="true"> <annotation> <documentation xml:lang="en"> The element element can be used either at the toplevel 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.</documentation> </annotation> <complexContent> <extension base="annotated"> <sequence> <choice minOccurs="0"> <element name="simpleType" type="localSimpleType"/> <element name="complexType" type="localComplexType"/> </choice> <element ref="identityConstraint" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attributeGroup ref="defRef"/> <attribute name="type" type="QName"/> <attribute name="substitutionGroup" type="QName"/> <attributeGroup ref="occurs"/> <attribute name="default" type="string"/> <attribute name="fixed" type="string"/> <attribute name="nullable" type="boolean" use="default" value="false"/> <attribute name="abstract" type="boolean" use="default" value="false"/> <attribute name="final" type="derivationSet" use="default" value=""/> <attribute name="block" type="blockSet" use="default" value=""/> <attribute name="form" type="formChoice"/> </extension> </complexContent> </complexType> <complexType name="topLevelElement"> <complexContent> <restriction base="element"> <sequence> <element ref="annotation" minOccurs="0"/> <choice minOccurs="0"> <element name="simpleType" type="localSimpleType"/> <element name="complexType" type="localComplexType"/> </choice> <element ref="identityConstraint" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="ref" use="prohibited"/> <attribute name="form" use="prohibited"/> <attribute name="minOccurs" use="prohibited"/> <attribute name="maxOccurs" use="prohibited"/> <attribute name="name" use="required" type="NCName"/> </restriction> </complexContent> </complexType> <complexType name="localElement"> <complexContent> <restriction base="element"> <sequence> <element ref="annotation" minOccurs="0"/> <choice minOccurs="0"> <element name="simpleType" type="localSimpleType"/> <element name="complexType" type="localComplexType"/> </choice> <element ref="identityConstraint" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="substitutionGroup" use="prohibited"/> <attribute name="final" use="prohibited"/> </restriction> </complexContent> </complexType> <element name="element" type="topLevelElement" substitutionGroup="schemaTop" id="element"> <annotation> <documentation xml:lang="en" source="http://www.w3.org/TR/xmlschema-1/#element-element"/> </annotation> </element> <complexType name="group" abstract="true"> <annotation> <documentation xml:lang="en"> group type for explicit groups, named top-level groups and group references</documentation> </annotation> <complexContent> <extension base="annotated"> <group ref="particle" minOccurs="0" maxOccurs="unbounded"/> <attributeGroup ref="defRef"/> <attributeGroup ref="occurs"/> </extension> </complexContent> </complexType> <complexType name="realGroup"> <complexContent> <restriction base="group"> <sequence> <element ref="annotation" minOccurs="0"/> <group ref="groupDefParticle" minOccurs="0" maxOccurs="1"/> </sequence> </restriction> </complexContent> </complexType> <complexType name="namedGroup"> <complexContent> <restriction base="realGroup"> <sequence> <element ref="annotation" minOccurs="0"/> <group ref="groupDefParticle" minOccurs="1" maxOccurs="1"/> </sequence> <attribute name="name" use="required" type="NCName"/> <attribute name="ref" use="prohibited"/> <attribute name="minOccurs" use="prohibited"/> <attribute name="maxOccurs" use="prohibited"/> </restriction> </complexContent> </complexType> <complexType name="groupRef"> <complexContent> <restriction base="realGroup"> <sequence> <element ref="annotation" minOccurs="0"/> </sequence> <attribute name="ref" use="required" type="QName"/> <attribute name="name" use="prohibited"/> </restriction> </complexContent> </complexType> <complexType name="explicitGroup"> <annotation> <documentation xml:lang="en"> group type for the three kinds of group</documentation> </annotation> <complexContent> <restriction base="group"> <sequence> <element ref="annotation" minOccurs="0"/> <group ref="nestedParticle" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="name" type="NCName" use="prohibited"/> <attribute name="ref" type="QName" use="prohibited"/> </restriction> </complexContent> </complexType> <element name="all" id="all"> <annotation> <documentation xml:lang="en" source="http://www.w3.org/TR/xmlschema-1/#element-all"/> </annotation> <complexType> <annotation> <documentation xml:lang="en"> Only elements allowed inside</documentation> </annotation> <complexContent> <restriction base="explicitGroup"> <sequence> <element ref="annotation" minOccurs="0"/> <element name="element" minOccurs="0" maxOccurs="unbounded"> <complexType> <annotation> <documentation xml:lang="en">restricted max/min</documentation> </annotation> <complexContent> <restriction base="localElement"> <sequence> <element ref="annotation" minOccurs="0"/> <choice minOccurs="0"> <element name="simpleType" type="localSimpleType"/> <element name="complexType" type="localComplexType"/> </choice> <element ref="identityConstraint" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="minOccurs" use="default" value="1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -