⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlschema.dtd

📁 Hippo CMS是一个以信息为中心的开源内容管理系统。Hippo CMS目标是供中,大型企业来管理其发布在互连网
💻 DTD
📖 第 1 页 / 共 2 页
字号:
<!-- DTD for XML Schemas: Part 1: Structures     Public Identifier: "-//W3C//DTD XMLSCHEMA 200010//EN"     Official Location: http://www.w3.org/2000/10/XMLSchema.dtd --><!-- $Id: XMLSchema.dtd,v 1.1 2003/03/09 00:10:44 pier Exp $ --><!-- Note this DTD is NOT normative, or even definitive. -->           <!--d--><!-- prose copy in the structures REC is the definitive version -->    <!--d--><!-- (which shouldn't differ from this one except for this -->         <!--d--><!-- comment and entity expansions, but just in case) -->              <!--d--><!-- With the exception of cases with multiple namespace     prefixes for the XML Schema namespace, any XML document which is     not valid per this DTD given redefinitions in its internal subset of the     'p' and 's' parameter entities below appropriate to its namespace     declaration of the XML Schema namespace is almost certainly not     a valid schema. --><!-- The simpleType element and its constituent parts     are defined in XML Schema: Part 2: Datatypes --><!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' ><!ENTITY % p ''> <!-- can be overriden in the internal subset of a                      schema document to establish a namespace prefix --><!ENTITY % s ''> <!-- if %p is defined (e.g. as foo:) then you must                      also define %s as the suffix for the appropriate                      namespace declaration (e.g. :foo) --><!ENTITY % nds 'xmlns%s;'><!-- Define all the element names, with optional prefix --><!ENTITY % schema "%p;schema"><!ENTITY % complexType "%p;complexType"><!ENTITY % complexContent "%p;complexContent"><!ENTITY % simpleContent "%p;simpleContent"><!ENTITY % extension "%p;extension"><!ENTITY % element "%p;element"><!ENTITY % unique "%p;unique"><!ENTITY % key "%p;key"><!ENTITY % keyref "%p;keyref"><!ENTITY % selector "%p;selector"><!ENTITY % field "%p;field"><!ENTITY % group "%p;group"><!ENTITY % all "%p;all"><!ENTITY % choice "%p;choice"><!ENTITY % sequence "%p;sequence"><!ENTITY % any "%p;any"><!ENTITY % anyAttribute "%p;anyAttribute"><!ENTITY % attribute "%p;attribute"><!ENTITY % attributeGroup "%p;attributeGroup"><!ENTITY % include "%p;include"><!ENTITY % import "%p;import"><!ENTITY % redefine "%p;redefine"><!ENTITY % notation "%p;notation"><!-- annotation elements --><!ENTITY % annotation "%p;annotation"><!ENTITY % appinfo "%p;appinfo"><!ENTITY % documentation "%p;documentation"><!-- Customisation entities for the ATTLIST of each element type.     Define one of these if your schema takes advantage of the     anyAttribute='##other' in the schema for schemas --><!ENTITY % schemaAttrs ''><!ENTITY % complexTypeAttrs ''><!ENTITY % complexContentAttrs ''><!ENTITY % simpleContentAttrs ''><!ENTITY % extensionAttrs ''><!ENTITY % elementAttrs ''><!ENTITY % groupAttrs ''><!ENTITY % allAttrs ''><!ENTITY % choiceAttrs ''><!ENTITY % sequenceAttrs ''><!ENTITY % anyAttrs ''><!ENTITY % anyAttributeAttrs ''><!ENTITY % attributeAttrs ''><!ENTITY % attributeGroupAttrs ''><!ENTITY % uniqueAttrs ''><!ENTITY % keyAttrs ''><!ENTITY % keyrefAttrs ''><!ENTITY % selectorAttrs ''><!ENTITY % fieldAttrs ''><!ENTITY % includeAttrs ''><!ENTITY % importAttrs ''><!ENTITY % redefineAttrs ''><!ENTITY % notationAttrs ''><!ENTITY % complexDerivationChoice "(extension|restriction)"><!ENTITY % complexDerivationSet "CDATA">      <!-- #all or space-separated list drawn from derivationChoice --><!ENTITY % blockSet "CDATA">      <!-- #all or space-separated list drawn from                      derivationChoice + 'substitution' --><!ENTITY % mgs '%all; | %choice; | %sequence;'><!ENTITY % cs '%choice; | %sequence;'><!ENTITY % formValues '(qualified|unqualified)'><!ENTITY % attrDecls    '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'><!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'><!-- This is used in part2 --><!ENTITY % restriction1 '((%mgs; | %group;)?)'>%xs-datatypes;<!-- the duplication below is to produce an unambiguous content model     which allows annotation everywhere --><!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,                    ((%simpleType; | %complexType;                      | %element; | %attribute;                      | %attributeGroup; | %group;                      | %notation; ),                     (%annotation;)*)* )><!ATTLIST %schema;   targetNamespace      %URIref;               #IMPLIED   version              CDATA                  #IMPLIED   %nds;                %URIref;               #FIXED 'http://www.w3.org/2000/10/XMLSchema'   finalDefault         %complexDerivationSet; ''   blockDefault         %blockSet;             ''   id                   ID                     #IMPLIED   elementFormDefault   %formValues;           'unqualified'   attributeFormDefault %formValues;           'unqualified'   %schemaAttrs;><!-- Note the xmlns declaration is NOT in the Schema for Schemas,     because at the Infoset level where schemas operate,     xmlns(:prefix) is NOT an attribute! --> <!-- The id attribute here and below is for use in external references     from non-schemas using simple fragment identifiers.     It is NOT used for schema-to-schema reference, internal or     external. --><!-- a type is a named content type specification which allows attribute     declarations--><!-- --><!ELEMENT %complexType; ((%annotation;)?,                         (%simpleContent;|%complexContent;|                          %particleAndAttrs;))><!ATTLIST %complexType;          name      %NCName;                        #IMPLIED          id        ID                              #IMPLIED          abstract  %boolean;                       'false'          final     %complexDerivationSet;          #IMPLIED          block     %complexDerivationSet;          ''          mixed (true|false) 'false'          %complexTypeAttrs;><!-- particleAndAttrs is shorthand for a root type --><!-- mixed is disallowed if simpleContent, overriden if complexContent     has one too. --><!-- If anyAttribute appears in one or more referenced attributeGroups     and/or explicitly, the intersection of the permissions is used --><!ELEMENT %complexContent; (%restriction;|%extension;)><!ATTLIST %complexContent;          mixed (true|false) #IMPLIED          id    ID           #IMPLIED          %complexContentAttrs;><!-- restriction should use the branch defined above, not the simple     one from part2; extension should use the full model  --><!ELEMENT %simpleContent; (%restriction;|%extension;)><!ATTLIST %simpleContent;          id    ID           #IMPLIED          %simpleContentAttrs;><!-- restriction should use the simple branch from part2, not the      one defined above; extension should have no particle  --><!ELEMENT %extension; (%particleAndAttrs;)><!ATTLIST %extension;          base  %QName;      #REQUIRED          id    ID           #IMPLIED          %extensionAttrs;><!-- an element is declared by either: a name and a type (either nested or referenced via the type attribute) or a ref to an existing element declaration --><!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,                     (%unique; | %key; | %keyref;)*)><!-- simpleType or complexType only if no type|ref attribute --><!-- ref not allowed at top level --><!ATTLIST %element;            name               %NCName;               #IMPLIED            id                 ID                     #IMPLIED            ref                %QName;                #IMPLIED            type               %QName;                #IMPLIED            minOccurs          %nonNegativeInteger;   #IMPLIED            maxOccurs          CDATA                  #IMPLIED            nullable           %boolean;              #IMPLIED            substitutionGroup  %QName;                #IMPLIED            abstract           %boolean;              'false'            final              %complexDerivationSet; #IMPLIED

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -