Orb/Doxygen/DITA/plugins/apiref/xsd/apiMap.xsd
author Michel Szarindar <Michel.Szarindar@Nokia.com>
Fri, 23 Apr 2010 20:47:58 +0100
changeset 3 d8fccb2cd802
parent 0 42188c7ea2d9
permissions -rw-r--r--
Orb version 0.1.9. Fixes Bug 1965, Bug 2401

<?xml version="1.0" encoding="utf-8"?>
<!--
 | (C) Copyright IBM Corporation 2005 - 2006. All Rights Reserved.
 *-->
<!-- vocabulary declarations -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
  <xs:include schemaLocation="../../../schema/mapGroupMod.xsd"/>
  <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="../../../schema/ditaarch.xsd"/>
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../../../schema/xml.xsd"/>
  <!--
    vocabulary substitution (one for each extended base element,
    with the name of the domain(s) in which the extension was declared)
  -->
  <xs:include schemaLocation="apiMapGrp.xsd"/>
  <xs:redefine schemaLocation="../../../schema/mapGrp.xsd">
  <xs:group name="topicref">
   <xs:choice>
    <xs:group ref="topicref"/>
    <xs:group ref="mapgroup-d-topicref"/>
   </xs:choice>
  </xs:group>
 </xs:redefine>
  <!-- vocabulary attributes (must be declared ahead of the dtds, which puts @domains first in order) -->
  <!-- Embed map to get generic elements -->
  <!-- vocabulary definitions -->
  <xs:redefine schemaLocation="../../../schema/mapMod.xsd" >
  	<xs:complexType name="map.class">
  		<xs:complexContent>
  			<xs:extension base="map.class">
  				<xs:attribute name="domains" type="xs:string" default="(map mapgroup-d)"/>
  			</xs:extension>
  		</xs:complexContent>
  	</xs:complexType>
  </xs:redefine>

  <xs:redefine schemaLocation="apiMapMod.xsd" >
  	<xs:complexType name="apiMap.class">
  		<xs:complexContent>
  			<xs:extension base="apiMap.class">
  				<xs:attribute name="domains" type="xs:string" default="(map mapgroup-d)"/>
  			</xs:extension>
  		</xs:complexContent>
  	</xs:complexType>
  </xs:redefine>


</xs:schema>