home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _C342612B2F414384A9D7EB3C9033657F < prev    next >
Encoding:
Extensible Markup Language  |  2002-09-13  |  6.1 KB  |  207 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XML Spy v5 beta 4 U (http://www.xmlspy.com) by Robert Gillis (Altova, Inc.) -->
  3. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  4.     <xs:element name="main">
  5.         <xs:annotation>
  6.             <xs:documentation>Comment describing your root element</xs:documentation>
  7.         </xs:annotation>
  8.         <xs:complexType>
  9.             <xs:sequence>
  10.                 <xs:element ref="dictionaries" minOccurs="0"/>
  11.                 <xs:element ref="idref"/>
  12.                 <xs:element name="pagetitle" type="xs:string" minOccurs="0"/>
  13.                 <xs:element ref="content"/>
  14.             </xs:sequence>
  15.         </xs:complexType>
  16.     </xs:element>
  17.     <xs:element name="sitedata"/>
  18.     <xs:element name="navigation">
  19.         <xs:complexType>
  20.             <xs:sequence>
  21.                 <xs:element name="base_url" type="xs:string"/>
  22.                 <xs:element ref="menu" minOccurs="0"/>
  23.             </xs:sequence>
  24.         </xs:complexType>
  25.     </xs:element>
  26.     <xs:element name="content">
  27.         <xs:complexType>
  28.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  29.                 <xs:element ref="pagefragment"/>
  30.             </xs:choice>
  31.         </xs:complexType>
  32.     </xs:element>
  33.     <xs:element name="pagefragment">
  34.         <xs:complexType>
  35.             <xs:complexContent>
  36.                 <xs:extension base="block">
  37.                     <xs:attribute name="idref" type="xs:string"/>
  38.                 </xs:extension>
  39.             </xs:complexContent>
  40.         </xs:complexType>
  41.     </xs:element>
  42.     <xs:element name="header"/>
  43.     <xs:complexType name="block" mixed="true">
  44.         <xs:choice minOccurs="0" maxOccurs="unbounded">
  45.             <xs:element ref="header"/>
  46.             <xs:element ref="table"/>
  47.             <xs:element ref="list"/>
  48.             <xs:element ref="img"/>
  49.             <xs:element ref="pagefragment"/>
  50.             <xs:element ref="span"/>
  51.             <xs:element ref="para"/>
  52.             <xs:element ref="br"/>
  53.             <xs:element ref="bold"/>
  54.             <xs:element ref="link"/>
  55.         </xs:choice>
  56.     </xs:complexType>
  57.     <xs:element name="table">
  58.         <xs:complexType>
  59.             <xs:sequence maxOccurs="unbounded">
  60.                 <xs:element name="tr">
  61.                     <xs:complexType>
  62.                         <xs:choice maxOccurs="unbounded">
  63.                             <xs:element name="td">
  64.                                 <xs:complexType>
  65.                                     <xs:complexContent>
  66.                                         <xs:extension base="block">
  67.                                             <xs:attribute name="style" type="xs:string"/>
  68.                                         </xs:extension>
  69.                                     </xs:complexContent>
  70.                                 </xs:complexType>
  71.                             </xs:element>
  72.                         </xs:choice>
  73.                     </xs:complexType>
  74.                 </xs:element>
  75.             </xs:sequence>
  76.         </xs:complexType>
  77.     </xs:element>
  78.     <xs:element name="para" type="inlinetype"/>
  79.     <xs:element name="list">
  80.         <xs:complexType>
  81.             <xs:choice maxOccurs="unbounded">
  82.                 <xs:element name="listitem" type="block"/>
  83.             </xs:choice>
  84.             <xs:attribute name="line">
  85.                 <xs:simpleType>
  86.                     <xs:restriction base="xs:NMTOKEN">
  87.                         <xs:enumeration value="solid"/>
  88.                         <xs:enumeration value="dashed"/>
  89.                         <xs:enumeration value="dotted"/>
  90.                     </xs:restriction>
  91.                 </xs:simpleType>
  92.             </xs:attribute>
  93.         </xs:complexType>
  94.     </xs:element>
  95.     <xs:element name="img">
  96.         <xs:complexType>
  97.             <xs:attribute name="src" type="xs:anyURI"/>
  98.             <xs:attribute name="style" type="xs:string"/>
  99.             <xs:attribute name="class" type="xs:string"/>
  100.         </xs:complexType>
  101.     </xs:element>
  102.     <xs:element name="span" type="inlinetype"/>
  103.     <xs:element name="br"/>
  104.     <xs:element name="link">
  105.         <xs:complexType mixed="true">
  106.             <xs:sequence>
  107.                 <xs:choice>
  108.                     <xs:element ref="url"/>
  109.                     <xs:element ref="idref"/>
  110.                 </xs:choice>
  111.                 <xs:choice minOccurs="0" maxOccurs="unbounded">
  112.                     <xs:element ref="bold"/>
  113.                     <xs:element ref="img"/>
  114.                     <xs:element ref="br"/>
  115.                     <xs:element ref="span"/>
  116.                 </xs:choice>
  117.             </xs:sequence>
  118.             <xs:attribute name="style" type="xs:string"/>
  119.             <xs:attribute name="class" type="xs:string"/>
  120.             <xs:attribute name="target" type="xs:string"/>
  121.         </xs:complexType>
  122.     </xs:element>
  123.     <xs:element name="links">
  124.         <xs:complexType>
  125.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  126.                 <xs:element name="link_instance">
  127.                     <xs:complexType>
  128.                         <xs:sequence>
  129.                             <xs:element name="id" type="xs:ID"/>
  130.                             <xs:element name="url" type="xs:string"/>
  131.                         </xs:sequence>
  132.                     </xs:complexType>
  133.                 </xs:element>
  134.             </xs:choice>
  135.         </xs:complexType>
  136.     </xs:element>
  137.     <xs:element name="images">
  138.         <xs:complexType>
  139.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  140.                 <xs:element name="image">
  141.                     <xs:complexType>
  142.                         <xs:sequence>
  143.                             <xs:element name="id" type="xs:ID"/>
  144.                             <xs:element ref="img"/>
  145.                         </xs:sequence>
  146.                     </xs:complexType>
  147.                 </xs:element>
  148.             </xs:choice>
  149.         </xs:complexType>
  150.     </xs:element>
  151.     <xs:element name="blocks">
  152.         <xs:complexType>
  153.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  154.                 <xs:element name="block_instance">
  155.                     <xs:complexType>
  156.                         <xs:sequence>
  157.                             <xs:element name="id" type="xs:ID"/>
  158.                             <xs:element ref="pagefragment"/>
  159.                         </xs:sequence>
  160.                     </xs:complexType>
  161.                 </xs:element>
  162.             </xs:choice>
  163.         </xs:complexType>
  164.     </xs:element>
  165.     <xs:element name="menu">
  166.         <xs:complexType>
  167.             <xs:choice>
  168.                 <xs:sequence>
  169.                     <xs:element name="idref" type="xs:IDREF"/>
  170.                     <xs:element name="title" type="xs:string"/>
  171.                 </xs:sequence>
  172.                 <xs:sequence>
  173.                     <xs:element name="id" type="xs:ID"/>
  174.                     <xs:element name="title" type="xs:string"/>
  175.                     <xs:choice>
  176.                         <xs:element name="url" type="xs:string"/>
  177.                         <xs:element ref="menu" maxOccurs="unbounded"/>
  178.                         <xs:element name="link_idref" type="xs:IDREF"/>
  179.                     </xs:choice>
  180.                 </xs:sequence>
  181.             </xs:choice>
  182.         </xs:complexType>
  183.     </xs:element>
  184.     <xs:element name="id" type="xs:ID"/>
  185.     <xs:element name="idref" type="xs:IDREF"/>
  186.     <xs:element name="url" type="xs:string"/>
  187.     <xs:element name="dictionaries">
  188.         <xs:complexType>
  189.             <xs:sequence>
  190.                 <xs:element ref="blocks"/>
  191.                 <xs:element ref="navigation"/>
  192.             </xs:sequence>
  193.         </xs:complexType>
  194.     </xs:element>
  195.     <xs:complexType name="inlinetype" mixed="true">
  196.         <xs:choice minOccurs="0" maxOccurs="unbounded">
  197.             <xs:element ref="span"/>
  198.             <xs:element ref="br"/>
  199.             <xs:element ref="img"/>
  200.             <xs:element ref="link"/>
  201.             <xs:element ref="bold"/>
  202.         </xs:choice>
  203.     </xs:complexType>
  204.     <xs:element name="strong" type="inlinetype"/>
  205.     <xs:element name="bold" type="inlinetype"/>
  206. </xs:schema>
  207.