DITA-OT_CXX_Plugin/cxxapiref/xsd/cxxFile.mod.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++ File DTD -->
       
     6 <!-- VERSION:   0.6.0 -->
       
     7 <!-- DATE:      May 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 File Reference Type v0.6.0//EN"
       
    18         Delivered as file "cxxFile.dtd"
       
    19 -->
       
    20 <!-- ================================================================= -->
       
    21 <!-- SYSTEM:     Darwin Information Typing Architecture (DITA) -->
       
    22 <!---->
       
    23 <!-- PURPOSE:    C++ API Reference for Files -->
       
    24 <!---->
       
    25 <!-- ORIGINAL CREATION DATE: -->
       
    26 <!-- November 2009 -->
       
    27 <!---->
       
    28 <!-- Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). -->
       
    29 <!-- All rights reserved. -->
       
    30 <!---->
       
    31 <!-- Change History (latest at top): -->
       
    32 <!-- +++++++++++++++++++++++++++++++ -->
       
    33 <!-- 2010-02-18 VOG: Updated -->
       
    34 <!-- 2010-02-10 PaulRoss: Updated. -->
       
    35 <!-- 2009-11-16 PaulRoss: Initial design. -->
       
    36 <!---->
       
    37 <!-- ================================================================= -->
       
    38 <!--
       
    39   Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
       
    40   All rights reserved.
       
    41 -->
       
    42 <!-- ============ Hooks for domain extension ============ -->
       
    43 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
       
    44   <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="../../../schema/base/xsd/ditaarch.xsd"/>
       
    45   <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../../../schema/base/xsd/xml.xsd"/>
       
    46   <xs:group name="cxxFileAPIItemLocation">
       
    47     <xs:sequence>
       
    48       <xs:element ref="cxxFileAPIItemLocation"/>
       
    49     </xs:sequence>
       
    50   </xs:group>
       
    51   <xs:complexType name="cxxFileDeclarationFile">
       
    52     <xs:complexContent>
       
    53       <xs:extension base="cxxFileDeclarationFile.element"/>
       
    54     </xs:complexContent>
       
    55   </xs:complexType>
       
    56   <!-- we use the rest from apiRef -->
       
    57   <!-- ============ Hooks for shell DTD ============ -->
       
    58   <xs:element name="cxxFile-types-default" abstract="true" substitutionGroup="cxxFile-info-types"/>
       
    59   <xs:element name="cxxFile-info-types" abstract="true"/>
       
    60   <!-- ============ Topic specializations ============ -->
       
    61   <xs:element name="cxxFile">
       
    62     <xs:complexType>
       
    63       <xs:sequence>
       
    64         <xs:group minOccurs="0" ref="apiSyntax"/>
       
    65         <xs:group ref="apiName"/>
       
    66         <xs:group minOccurs="0" ref="shortdesc"/>
       
    67         <xs:group minOccurs="0" ref="prolog"/>
       
    68         <xs:group minOccurs="0" ref="related-links"/>
       
    69         <xs:element minOccurs="0" maxOccurs="unbounded" ref="cxxFile-info-types"/>
       
    70         <xs:group ref="cxxFileAPIItemLocation"/>
       
    71       </xs:sequence>
       
    72       <xs:attribute name="id" use="required" type="xs:ID"/>
       
    73       <xs:attribute name="conref"/>
       
    74       <xs:attribute name="outputclass"/>
       
    75       <xs:attribute ref="xml:lang"/>
       
    76       <xs:attributeGroup ref="arch-atts"/>
       
    77       <xs:attribute name="domains" default="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                            (topic ut-d) (topic pr-d api-d) (topic pr-d api-d cxxapi-d)"/>
       
    78       <xs:attributeGroup ref="global-atts"/>
       
    79       <xs:attribute name="class" default="- topic/topic reference/reference apiRef/apiRef apiPackage/apiPackage cxxFile/cxxFile "/>
       
    80     </xs:complexType>
       
    81   </xs:element>
       
    82   <xs:element name="cxxFileAPIItemLocation">
       
    83     <xs:complexType>
       
    84       <xs:complexContent>
       
    85         <xs:extension base="cxxFileDeclarationFile">
       
    86           <xs:attributeGroup ref="univ-atts"/>
       
    87           <xs:attribute name="outputclass"/>
       
    88           <xs:attributeGroup ref="global-atts"/>
       
    89           <xs:attribute name="class" default="- topic/ph reference/ph apiRef/apiDefItem apiPackage/apiDefItem cxxFile/cxxFileAPIItemLocation "/>
       
    90         </xs:extension>
       
    91       </xs:complexContent>
       
    92     </xs:complexType>
       
    93   </xs:element>
       
    94   <xs:complexType name="cxxFileDeclarationFile.element">
       
    95     <xs:sequence>
       
    96       <xs:element ref="cxxFileDeclarationFile"/>
       
    97     </xs:sequence>
       
    98   </xs:complexType>
       
    99   <xs:element name="cxxFileDeclarationFile">
       
   100     <xs:complexType>
       
   101       <xs:attribute name="name" default="filePath">
       
   102         <xs:simpleType>
       
   103           <xs:restriction base="xs:string">
       
   104             <xs:enumeration value="filePath"/>
       
   105           </xs:restriction>
       
   106         </xs:simpleType>
       
   107       </xs:attribute>
       
   108       <xs:attribute name="value" use="required"/>
       
   109       <xs:attributeGroup ref="univ-atts"/>
       
   110       <xs:attribute name="outputclass"/>
       
   111       <xs:attributeGroup ref="global-atts"/>
       
   112       <xs:attribute name="class" default="- topic/state reference/state apiRef/apiQualifier apiPackage/apiQualifier cxxFile/cxxFileDeclarationFile "/>
       
   113     </xs:complexType>
       
   114   </xs:element>
       
   115 </xs:schema>
       
   116 <!-- ============ Class attributes for type ancestry ============ -->