Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. <!--
  2.  
  3. Copyright (c) 2001-2004 World Wide Web Consortium,
  4. (Massachusetts Institute of Technology, Institut National de
  5. Recherche en Informatique et en Automatique, Keio University).  All
  6. Rights Reserved.  This program is distributed under the W3C's Software
  7. Intellectual Property License.  This program is distributed in the
  8. hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  9. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  10. PURPOSE.  
  11.  
  12. See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  13.  
  14. -->
  15.  
  16. <!--
  17.  
  18. This schema provides supports misc_typeinfo.xml
  19. -->
  20.  
  21. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  22.         targetNamespace="http://www.w3.org/1999/xhtml"
  23.         xmlns="http://www.w3.org/1999/xhtml">
  24.  
  25.  <xsd:element name="html">
  26.          <xsd:complexType>
  27.                 <xsd:sequence>
  28.                         <xsd:element ref="head"/>
  29.                         <xsd:element ref="body"/>
  30.                 </xsd:sequence>
  31.          </xsd:complexType>
  32.  </xsd:element>
  33.  
  34.  <xsd:element name="head">
  35.         <xsd:complexType>
  36.                 <xsd:sequence>
  37.                         <xsd:element ref="meta"/>
  38.                         <xsd:element ref="title"/>
  39.                 </xsd:sequence>
  40.         </xsd:complexType>
  41.  </xsd:element>
  42.  
  43.  <xsd:element name="title" type="xsd:string"/>
  44.  <xsd:element name="meta">
  45.         <xsd:complexType>
  46.                 <xsd:attribute name="http-equiv" type="xsd:string" use="required"/>
  47.                 <xsd:attribute name="content" type="xsd:string" use="required"/>
  48.         </xsd:complexType>
  49.  </xsd:element>
  50.  
  51.  
  52.  <xsd:element name="body">
  53.         <xsd:complexType>
  54.                 <xsd:sequence minOccurs="0" maxOccurs="unbounded">
  55.                         <xsd:element ref="p"/>
  56.                 </xsd:sequence>
  57.                 <xsd:attribute name="onload" type="xsd:string" use="optional"/>                
  58.         </xsd:complexType>
  59.  </xsd:element>
  60.  
  61.  <xsd:element name="p">
  62.           <xsd:complexType>
  63.                   <xsd:choice minOccurs="0" maxOccurs="unbounded">
  64.                         <xsd:element ref="em"/>
  65.                         <xsd:element ref="strong"/>
  66.                         <xsd:element ref="code"/>
  67.                         <xsd:element ref="acronym"/>
  68.                   </xsd:choice>
  69.                   <xsd:attribute name="id" type="xsd:ID" use="optional"/>
  70.           </xsd:complexType>
  71.  </xsd:element>
  72.  
  73.  <xsd:element name="strong" type="xsd:IDREFS"/>
  74.  <xsd:element name="em" type="xsd:byte"/>
  75.  <xsd:simpleType name="unbounded">
  76.           <xsd:restriction base="xsd:string">
  77.                   <xsd:enumeration value="unbounded"/>
  78.           </xsd:restriction>
  79.  </xsd:simpleType>
  80.  <xsd:simpleType name="unsignedIntOrUnbounded">
  81.           <xsd:union memberTypes="xsd:unsignedInt unbounded"/>
  82.  </xsd:simpleType>
  83.  
  84.  <xsd:simpleType name="doubleList">
  85.           <xsd:list itemType="xsd:double"/>
  86.  </xsd:simpleType>
  87.  
  88.  <xsd:element name="acronym">
  89.           <xsd:complexType>
  90.                   <xsd:simpleContent>
  91.                                 <xsd:extension base="doubleList">
  92.                                         <xsd:attribute name="id" use="optional" type="xsd:ID"/>
  93.                                 </xsd:extension>
  94.                   </xsd:simpleContent>
  95.           </xsd:complexType>
  96.  </xsd:element>
  97.  
  98.  <xsd:element name="code">
  99.           <xsd:complexType>
  100.                   <xsd:simpleContent>
  101.                          <xsd:extension base="unsignedIntOrUnbounded">
  102.                                 <xsd:attribute name="id" type="xsd:ID" use="optional"/>
  103.                          </xsd:extension>
  104.                   </xsd:simpleContent>
  105.           </xsd:complexType>
  106.  </xsd:element>
  107. </xsd:schema>
  108.