Orb/Doxygen/DITA/plugins/apiref/xsd/apiMap.xsd
changeset 3 d8fccb2cd802
parent 0 42188c7ea2d9
equal deleted inserted replaced
2:932c358ece3e 3:d8fccb2cd802
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!--
       
     3  | (C) Copyright IBM Corporation 2005 - 2006. All Rights Reserved.
       
     4  *-->
       
     5 <!-- vocabulary declarations -->
       
     6 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
       
     7   <xs:include schemaLocation="../../../schema/mapGroupMod.xsd"/>
       
     8   <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="../../../schema/ditaarch.xsd"/>
       
     9   <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../../../schema/xml.xsd"/>
       
    10   <!--
       
    11     vocabulary substitution (one for each extended base element,
       
    12     with the name of the domain(s) in which the extension was declared)
       
    13   -->
       
    14   <xs:include schemaLocation="apiMapGrp.xsd"/>
       
    15   <xs:redefine schemaLocation="../../../schema/mapGrp.xsd">
       
    16   <xs:group name="topicref">
       
    17    <xs:choice>
       
    18     <xs:group ref="topicref"/>
       
    19     <xs:group ref="mapgroup-d-topicref"/>
       
    20    </xs:choice>
       
    21   </xs:group>
       
    22  </xs:redefine>
       
    23   <!-- vocabulary attributes (must be declared ahead of the dtds, which puts @domains first in order) -->
       
    24   <!-- Embed map to get generic elements -->
       
    25   <!-- vocabulary definitions -->
       
    26   <xs:redefine schemaLocation="../../../schema/mapMod.xsd" >
       
    27   	<xs:complexType name="map.class">
       
    28   		<xs:complexContent>
       
    29   			<xs:extension base="map.class">
       
    30   				<xs:attribute name="domains" type="xs:string" default="(map mapgroup-d)"/>
       
    31   			</xs:extension>
       
    32   		</xs:complexContent>
       
    33   	</xs:complexType>
       
    34   </xs:redefine>
       
    35 
       
    36   <xs:redefine schemaLocation="apiMapMod.xsd" >
       
    37   	<xs:complexType name="apiMap.class">
       
    38   		<xs:complexContent>
       
    39   			<xs:extension base="apiMap.class">
       
    40   				<xs:attribute name="domains" type="xs:string" default="(map mapgroup-d)"/>
       
    41   			</xs:extension>
       
    42   		</xs:complexContent>
       
    43   	</xs:complexType>
       
    44   </xs:redefine>
       
    45 
       
    46 
       
    47 </xs:schema>