DITA-OT_CXX_Plugin/cxxapiref/xsd/cxxClass.xsd
author Jonathan Harrington <jonathan.harrington@nokia.com>
Wed, 11 Aug 2010 14:49:30 +0100
changeset 4 468f4c8d3d5b
permissions -rw-r--r--
Orb version 0.2.0

<?xml version="1.0" encoding="utf-8"?>
<!-- ================================================================= -->
<!-- HEADER -->
<!-- ================================================================= -->
<!-- MODULE:    C++ Class DTD -->
<!-- VERSION:   0.5.0 -->
<!-- DATE:      February 2009 -->
<!---->
<!-- ================================================================= -->
<!-- ================================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!---->
<!--
  Refer to this file by the following public identifier or an 
        appropriate system identifier 
  PUBLIC "-//NOKIA//DTD DITA C++ API Class Reference Type v0.5.0//EN"
        Delivered as file "cxxClass.dtd"
-->
<!-- ================================================================= -->
<!-- SYSTEM:     Darwin Information Typing Architecture (DITA) -->
<!---->
<!-- PURPOSE:    C++ API Reference for Classes -->
<!---->
<!-- ORIGINAL CREATION DATE: -->
<!-- November 2009 -->
<!---->
<!-- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -->
<!-- All rights reserved. -->
<!---->
<!-- Change History (latest at top): -->
<!-- +++++++++++++++++++++++++++++++ -->
<!-- 2010-02-10 PaulRoss: Updated. -->
<!-- 2009-11-16 PaulRoss: Initial design. -->
<!---->
<!-- ================================================================= -->
<!-- <!DOCTYPE cxxClass PUBLIC "-//NOKIA//DTD DITA C++ API Class Reference Type v0.5.0//EN" "dtd/cxxClass.dtd"   > -->
<!--
  Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
  All rights reserved.
-->
<!-- vocabulary declarations -->
<xs:schema elementFormDefault="qualified"
           xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:include schemaLocation="../../../schema/technicalContent/xsd/programmingDomain.xsd" />
  <xs:include schemaLocation="../../../schema/technicalContent/xsd/softwareDomain.xsd" />
  <xs:include schemaLocation="../../../schema/technicalContent/xsd/uiDomain.xsd" />
  <xs:include schemaLocation="../../../schema/base/xsd/utilitiesDomain.xsd" />
  <xs:include schemaLocation="../../../schema/base/xsd/highlightDomain.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiDomain.xsd" />
  <xs:include schemaLocation="cxxAPIDomain.ent.xsd" />
  <xs:include schemaLocation="../../../schema/base/xsd/topicGrp.xsd" />

  <xs:include schemaLocation="../../../schema/technicalContent/xsd/referenceGrp.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiRefGrp.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiClassifierGrp.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiOperationGrp.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiValueGrp.xsd" />
  
  <xs:include schemaLocation="../../../schema/base/xsd/topicMod.xsd" />

  <xs:include schemaLocation="../../../schema/technicalContent/xsd/referenceMod.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiRefMod.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiClassifierMod.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiOperationMod.xsd" />
  <xs:include schemaLocation="../../apiref/xsd/apiValueMod.xsd" />  
  
  <xs:include schemaLocation="cxxClass.mod.xsd" />
  <xs:include schemaLocation="cxxStruct.mod.xsd" />
  <xs:include schemaLocation="cxxUnion.mod.xsd" />
  <xs:include schemaLocation="cxxFunction.mod.xsd" />
  <xs:include schemaLocation="cxxDefine.mod.xsd" />
  <xs:include schemaLocation="cxxVariable.mod.xsd" />
  <xs:include schemaLocation="cxxEnumeration.mod.xsd" />
  <xs:include schemaLocation="cxxTypedef.mod.xsd" />
  <xs:include schemaLocation="cxxAPIDomain.mod.xsd" />
  <xs:import namespace="http://dita.oasis-open.org/architecture/2005/"
             schemaLocation="../../../schema/base/xsd/ditaarch.xsd" />
  <xs:import namespace="http://www.w3.org/XML/1998/namespace"
             schemaLocation="../../../schema/base/xsd/xml.xsd" />
  <!-- vocabulary substitution -->
  <xs:group name="pre">
    <xs:choice>
      <xs:element ref="pre" />
      <xs:element ref="pr-d-pre" />
      <xs:element ref="sw-d-pre" />
      <xs:element ref="ui-d-pre" />
    </xs:choice>
  </xs:group>
  <xs:group name="keyword">
    <xs:choice>
      <xs:element ref="keyword" />
      <xs:element ref="pr-d-keyword" />
      <xs:element ref="sw-d-keyword" />
      <xs:element ref="ui-d-keyword" />
    </xs:choice>
  </xs:group>
  <xs:group name="ph">
    <xs:choice>
      <xs:element ref="ph" />
      <xs:element ref="pr-d-ph" />
      <xs:element ref="sw-d-ph" />
      <xs:element ref="hi-d-ph" />
      <xs:element ref="ui-d-ph" />
    </xs:choice>
  </xs:group>
  <xs:group name="fig">
    <xs:choice>
      <xs:element ref="fig" />
      <xs:element ref="pr-d-fig" />
      <xs:element ref="ut-d-fig" />
    </xs:choice>
  </xs:group>
  <xs:group name="dl">
    <xs:choice>
      <xs:element ref="dl" />
      <xs:element ref="pr-d-dl" />
    </xs:choice>
  </xs:group>
  <xs:group name="xref">
    <xs:choice>
      <xs:element ref="xref" />
      <xs:element ref="api-d-xref" />
      <xs:element ref="cxxapi-d-xref" />
    </xs:choice>
  </xs:group>
  <!-- Declare the domains -->
  <!-- Topic nesting uses defaults -->
  <!-- Embed the base topic module to define the base elements -->
  <!-- Embed the base reference module to define the base elements -->
  <!-- Embed the base API module to define the base elements -->
  <!-- Embed the base classifier module to define the base elements -->
  <!-- Embed the base operation module to define the base elements -->
  <!-- Embed the base value module to define the base elements -->
  <!-- Embed the cxx Class API module to get the cxx Class elements -->
  <!-- Embed the cxx Struct API module to get the cxx Struct elements -->
  <!-- Embed the cxx Union API module to get the cxx Union elements -->
  <!-- Embed the cxx Function API module to get the cxx Function elements -->
  <!-- Embed the cxx Define API module to get the cxx Define elements -->
  <!-- Embed the cxx Variable API module to get the cxx Variable elements -->
  <!-- Embed the cxx Enumeration API module to get the cxx Enumeration elements -->
  <!-- Embed the cxx Typedef API module to get the cxx Typedef elements -->
  <!-- vocabulary definitions -->
  <xs:complexType mixed="true"
                  name="any">
    <xs:sequence>
      <xs:any maxOccurs="unbounded"
              minOccurs="0"
              processContents="strict" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>