Orb/Doxygen/DITA/index.xsd
changeset 2 932c358ece3e
equal deleted inserted replaced
1:82f11024044a 2:932c358ece3e
       
     1 <?xml version='1.0' encoding='utf-8' ?>
       
     2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       
     3   <xsd:element name="doxygenindex" type="DoxygenType"/>
       
     4 
       
     5   <xsd:complexType name="DoxygenType">
       
     6     <xsd:sequence>
       
     7       <xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
       
     8     </xsd:sequence>
       
     9     <xsd:attribute name="version" type="xsd:string" use="required"/>
       
    10   </xsd:complexType>
       
    11 
       
    12   <xsd:complexType name="CompoundType">
       
    13     <xsd:sequence>
       
    14       <xsd:element name="name" type="xsd:string"/>
       
    15       <xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded"/>
       
    16     </xsd:sequence>
       
    17     <xsd:attribute name="refid" type="xsd:string" use="required"/>
       
    18     <xsd:attribute name="kind" type="CompoundKind" use="required"/>
       
    19   </xsd:complexType>
       
    20 
       
    21   <xsd:complexType name="MemberType">
       
    22     <xsd:sequence>
       
    23       <xsd:element name="name" type="xsd:string"/>
       
    24     </xsd:sequence>
       
    25     <xsd:attribute name="refid" type="xsd:string" use="required"/>
       
    26     <xsd:attribute name="kind" type="MemberKind" use="required"/>
       
    27   </xsd:complexType>
       
    28   
       
    29   <xsd:simpleType name="CompoundKind">
       
    30     <xsd:restriction base="xsd:string">
       
    31       <xsd:enumeration value="class"/>
       
    32       <xsd:enumeration value="struct"/>
       
    33       <xsd:enumeration value="union"/>
       
    34       <xsd:enumeration value="interface"/>
       
    35       <xsd:enumeration value="protocol"/>
       
    36       <xsd:enumeration value="category"/>
       
    37       <xsd:enumeration value="exception"/>
       
    38       <xsd:enumeration value="file"/>
       
    39       <xsd:enumeration value="namespace"/>
       
    40       <xsd:enumeration value="group"/>
       
    41       <xsd:enumeration value="page"/>
       
    42       <xsd:enumeration value="example"/>
       
    43       <xsd:enumeration value="dir"/>
       
    44     </xsd:restriction>
       
    45   </xsd:simpleType>
       
    46 
       
    47   <xsd:simpleType name="MemberKind">
       
    48     <xsd:restriction base="xsd:string">
       
    49       <xsd:enumeration value="define"/>
       
    50       <xsd:enumeration value="property"/>
       
    51       <xsd:enumeration value="event"/>
       
    52       <xsd:enumeration value="variable"/>
       
    53       <xsd:enumeration value="typedef"/>
       
    54       <xsd:enumeration value="enum"/>
       
    55       <xsd:enumeration value="enumvalue"/>
       
    56       <xsd:enumeration value="function"/>
       
    57       <xsd:enumeration value="signal"/>
       
    58       <xsd:enumeration value="prototype"/>
       
    59       <xsd:enumeration value="friend"/>
       
    60       <xsd:enumeration value="dcop"/>
       
    61       <xsd:enumeration value="slot"/>
       
    62     </xsd:restriction>
       
    63   </xsd:simpleType>
       
    64 
       
    65 </xsd:schema>
       
    66