DITA-OT_CXX_Plugin/cxxapiref/xsd/cxxClass.xsd
changeset 4 468f4c8d3d5b
equal deleted inserted replaced
3:d8fccb2cd802 4:468f4c8d3d5b
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- ================================================================= -->
       
     3 <!-- HEADER -->
       
     4 <!-- ================================================================= -->
       
     5 <!-- MODULE:    C++ Class DTD -->
       
     6 <!-- VERSION:   0.5.0 -->
       
     7 <!-- DATE:      February 2009 -->
       
     8 <!---->
       
     9 <!-- ================================================================= -->
       
    10 <!-- ================================================================= -->
       
    11 <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
       
    12 <!-- TYPICAL INVOCATION -->
       
    13 <!---->
       
    14 <!--
       
    15   Refer to this file by the following public identifier or an 
       
    16         appropriate system identifier 
       
    17   PUBLIC "-//NOKIA//DTD DITA C++ API Class Reference Type v0.5.0//EN"
       
    18         Delivered as file "cxxClass.dtd"
       
    19 -->
       
    20 <!-- ================================================================= -->
       
    21 <!-- SYSTEM:     Darwin Information Typing Architecture (DITA) -->
       
    22 <!---->
       
    23 <!-- PURPOSE:    C++ API Reference for Classes -->
       
    24 <!---->
       
    25 <!-- ORIGINAL CREATION DATE: -->
       
    26 <!-- November 2009 -->
       
    27 <!---->
       
    28 <!-- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -->
       
    29 <!-- All rights reserved. -->
       
    30 <!---->
       
    31 <!-- Change History (latest at top): -->
       
    32 <!-- +++++++++++++++++++++++++++++++ -->
       
    33 <!-- 2010-02-10 PaulRoss: Updated. -->
       
    34 <!-- 2009-11-16 PaulRoss: Initial design. -->
       
    35 <!---->
       
    36 <!-- ================================================================= -->
       
    37 <!-- <!DOCTYPE cxxClass PUBLIC "-//NOKIA//DTD DITA C++ API Class Reference Type v0.5.0//EN" "dtd/cxxClass.dtd"   > -->
       
    38 <!--
       
    39   Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
    40   All rights reserved.
       
    41 -->
       
    42 <!-- vocabulary declarations -->
       
    43 <xs:schema elementFormDefault="qualified"
       
    44            xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
       
    45            xmlns:xs="http://www.w3.org/2001/XMLSchema">
       
    46   <xs:include schemaLocation="../../../schema/technicalContent/xsd/programmingDomain.xsd" />
       
    47   <xs:include schemaLocation="../../../schema/technicalContent/xsd/softwareDomain.xsd" />
       
    48   <xs:include schemaLocation="../../../schema/technicalContent/xsd/uiDomain.xsd" />
       
    49   <xs:include schemaLocation="../../../schema/base/xsd/utilitiesDomain.xsd" />
       
    50   <xs:include schemaLocation="../../../schema/base/xsd/highlightDomain.xsd" />
       
    51   <xs:include schemaLocation="../../apiref/xsd/apiDomain.xsd" />
       
    52   <xs:include schemaLocation="cxxAPIDomain.ent.xsd" />
       
    53   <xs:include schemaLocation="../../../schema/base/xsd/topicGrp.xsd" />
       
    54 
       
    55   <xs:include schemaLocation="../../../schema/technicalContent/xsd/referenceGrp.xsd" />
       
    56   <xs:include schemaLocation="../../apiref/xsd/apiRefGrp.xsd" />
       
    57   <xs:include schemaLocation="../../apiref/xsd/apiClassifierGrp.xsd" />
       
    58   <xs:include schemaLocation="../../apiref/xsd/apiOperationGrp.xsd" />
       
    59   <xs:include schemaLocation="../../apiref/xsd/apiValueGrp.xsd" />
       
    60   
       
    61   <xs:include schemaLocation="../../../schema/base/xsd/topicMod.xsd" />
       
    62 
       
    63   <xs:include schemaLocation="../../../schema/technicalContent/xsd/referenceMod.xsd" />
       
    64   <xs:include schemaLocation="../../apiref/xsd/apiRefMod.xsd" />
       
    65   <xs:include schemaLocation="../../apiref/xsd/apiClassifierMod.xsd" />
       
    66   <xs:include schemaLocation="../../apiref/xsd/apiOperationMod.xsd" />
       
    67   <xs:include schemaLocation="../../apiref/xsd/apiValueMod.xsd" />  
       
    68   
       
    69   <xs:include schemaLocation="cxxClass.mod.xsd" />
       
    70   <xs:include schemaLocation="cxxStruct.mod.xsd" />
       
    71   <xs:include schemaLocation="cxxUnion.mod.xsd" />
       
    72   <xs:include schemaLocation="cxxFunction.mod.xsd" />
       
    73   <xs:include schemaLocation="cxxDefine.mod.xsd" />
       
    74   <xs:include schemaLocation="cxxVariable.mod.xsd" />
       
    75   <xs:include schemaLocation="cxxEnumeration.mod.xsd" />
       
    76   <xs:include schemaLocation="cxxTypedef.mod.xsd" />
       
    77   <xs:include schemaLocation="cxxAPIDomain.mod.xsd" />
       
    78   <xs:import namespace="http://dita.oasis-open.org/architecture/2005/"
       
    79              schemaLocation="../../../schema/base/xsd/ditaarch.xsd" />
       
    80   <xs:import namespace="http://www.w3.org/XML/1998/namespace"
       
    81              schemaLocation="../../../schema/base/xsd/xml.xsd" />
       
    82   <!-- vocabulary substitution -->
       
    83   <xs:group name="pre">
       
    84     <xs:choice>
       
    85       <xs:element ref="pre" />
       
    86       <xs:element ref="pr-d-pre" />
       
    87       <xs:element ref="sw-d-pre" />
       
    88       <xs:element ref="ui-d-pre" />
       
    89     </xs:choice>
       
    90   </xs:group>
       
    91   <xs:group name="keyword">
       
    92     <xs:choice>
       
    93       <xs:element ref="keyword" />
       
    94       <xs:element ref="pr-d-keyword" />
       
    95       <xs:element ref="sw-d-keyword" />
       
    96       <xs:element ref="ui-d-keyword" />
       
    97     </xs:choice>
       
    98   </xs:group>
       
    99   <xs:group name="ph">
       
   100     <xs:choice>
       
   101       <xs:element ref="ph" />
       
   102       <xs:element ref="pr-d-ph" />
       
   103       <xs:element ref="sw-d-ph" />
       
   104       <xs:element ref="hi-d-ph" />
       
   105       <xs:element ref="ui-d-ph" />
       
   106     </xs:choice>
       
   107   </xs:group>
       
   108   <xs:group name="fig">
       
   109     <xs:choice>
       
   110       <xs:element ref="fig" />
       
   111       <xs:element ref="pr-d-fig" />
       
   112       <xs:element ref="ut-d-fig" />
       
   113     </xs:choice>
       
   114   </xs:group>
       
   115   <xs:group name="dl">
       
   116     <xs:choice>
       
   117       <xs:element ref="dl" />
       
   118       <xs:element ref="pr-d-dl" />
       
   119     </xs:choice>
       
   120   </xs:group>
       
   121   <xs:group name="xref">
       
   122     <xs:choice>
       
   123       <xs:element ref="xref" />
       
   124       <xs:element ref="api-d-xref" />
       
   125       <xs:element ref="cxxapi-d-xref" />
       
   126     </xs:choice>
       
   127   </xs:group>
       
   128   <!-- Declare the domains -->
       
   129   <!-- Topic nesting uses defaults -->
       
   130   <!-- Embed the base topic module to define the base elements -->
       
   131   <!-- Embed the base reference module to define the base elements -->
       
   132   <!-- Embed the base API module to define the base elements -->
       
   133   <!-- Embed the base classifier module to define the base elements -->
       
   134   <!-- Embed the base operation module to define the base elements -->
       
   135   <!-- Embed the base value module to define the base elements -->
       
   136   <!-- Embed the cxx Class API module to get the cxx Class elements -->
       
   137   <!-- Embed the cxx Struct API module to get the cxx Struct elements -->
       
   138   <!-- Embed the cxx Union API module to get the cxx Union elements -->
       
   139   <!-- Embed the cxx Function API module to get the cxx Function elements -->
       
   140   <!-- Embed the cxx Define API module to get the cxx Define elements -->
       
   141   <!-- Embed the cxx Variable API module to get the cxx Variable elements -->
       
   142   <!-- Embed the cxx Enumeration API module to get the cxx Enumeration elements -->
       
   143   <!-- Embed the cxx Typedef API module to get the cxx Typedef elements -->
       
   144   <!-- vocabulary definitions -->
       
   145   <xs:complexType mixed="true"
       
   146                   name="any">
       
   147     <xs:sequence>
       
   148       <xs:any maxOccurs="unbounded"
       
   149               minOccurs="0"
       
   150               processContents="strict" />
       
   151     </xs:sequence>
       
   152   </xs:complexType>
       
   153 </xs:schema>