Xml-schema's DTD description

Source: Internet
Author: User
Tags definition cdata datetime xmlns
Xml

<! ENTITY% datatypes "(ENTITY | Entities | Enumeration | ID | IDREF | IDREFS | NmToken | Nmtokens | notation | string | bin.base64 | Bin.hex | Boolean | char | Date | DateTime | Datetime.tz | fixed.14.4 | float | int | number | Time | Time.tz | I1 | I2 | I4 | R4 | R8 | Ui1 | Ui2 | UI4 | URI | UUID) "
>

<!--* * * Data type * * *-->
<! ELEMENT datatype (description) *>
<! ATTLIST datatype
Dt:type%datatypes; #IMPLIED
Xmlns:dt CDATA #FIXED "Urn:schemas-microsoft-com:datatypes"
>
 
<!--* * *-->
<! ELEMENT description (#PCDATA) >
 
<!--* * * ELEMENTS Quote * * * *-->
<!--Additional restrictions: maxOccurs must be 1 or "*"-->
<! Element Element (description) * >
<! attlist element
Type IDREF #REQUIRED
minoccurs CDATA #IMPLIED
MaxOccurs CDATA #IMPLIED
>
 
<!--* * * Property Reference * * *-->
<! ELEMENT attribute (description) * >
<! attlist attribute
Type IDREF #REQUIRED
Default CDATA #IMPLIED
Required (yes | no) "NO"
>
 
<!--* * * Attribute definition * * *-->
<! ELEMENT AttributeType (DataType | description) * >
<! Attlist AttributeType
Name ID #REQUIRED
Default CDATA #IMPLIED
Dt:type%datatypes; #IMPLIED
Dt:values CDATA #IMPLIED
Required (yes | no) #IMPLIED
Xmlns:dt CDATA #FIXED "Urn:schemas-microsoft-com:datatypes"
>
 
<!--* * * ELEMENT Definition * * * *-->
<! ELEMENT ElementType (DataType | description | AttributeType | Attribute | Element | Group) * >
<! Attlist ElementType
Name ID #REQUIRED
Model (Open | closed) #IMPLIED
Content (Empty | textOnly | eltonly | mixed) #IMPLIED
Order (One | seq | many) #IMPLIED
Dt:type%datatypes; #IMPLIED
Dt:values CDATA #IMPLIED
Required (yes | no) #IMPLIED
Xmlns:dt CDATA #FIXED "Urn:schemas-microsoft-com:datatypes"
>
 
<!--* * * * *--> Group * * *
<! Element Group (Group | element | description) *>
<! Attlist Group
minoccurs CDATA #IMPLIED
MaxOccurs CDATA #IMPLIED
Order (One | seq | many) #IMPLIED
>
 
<!--* * * * * * *-->
<! ELEMENT Schema (AttributeType | ElementType | Description) * >
<! Attlist Schema
Name CDATA #IMPLIED
Xmlns:dt CDATA #FIXED "Urn:schemas-microsoft-com:datatypes"
>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.