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