Orb/Doxygen/DITA/plugins/apiref/xsd/apiMapMod.xsd
changeset 3 d8fccb2cd802
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 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
       
     6   
       
     7   <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="../../../schema/ditaarch.xsd"/>
       
     8   <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../../../schema/xml.xsd"/>
       
     9   
       
    10   <xs:element name="apiMap" type="apiMap.class" />
       
    11     
       
    12   <xs:complexType name="apiMap.class">
       
    13     <xs:sequence>
       
    14       <xs:group minOccurs="0" ref="topicmeta"/>
       
    15       <xs:group minOccurs="0" maxOccurs="unbounded" ref="apiItemRef"/>
       
    16       <xs:group minOccurs="0" maxOccurs="unbounded" ref="reltable"/>
       
    17     </xs:sequence>
       
    18     <xs:attributeGroup ref="apiMap-attlist"/>
       
    19   </xs:complexType>
       
    20 
       
    21   <xs:attributeGroup name="apiMap-attlist">
       
    22     <xs:attribute name="title"/>
       
    23     <xs:attribute name="id" type="xs:ID"/>
       
    24     <xs:attribute name="anchorref"/>
       
    25     <xs:attributeGroup ref="topicref-atts"/>
       
    26     <xs:attributeGroup ref="select-atts"/>
       
    27     <xs:attributeGroup ref="localization-atts"/>
       
    28     <xs:attribute ref="ditaarch:DITAArchVersion"/>
       
    29     <xs:attributeGroup ref="global-atts"/>
       
    30     <xs:attribute name="class" default="- map/map apiMap/apiMap "/>
       
    31   </xs:attributeGroup>
       
    32   <xs:element name="apiItemRef">
       
    33     <xs:complexType>
       
    34       <xs:sequence>
       
    35         <xs:group minOccurs="0" ref="topicmeta"/>
       
    36         <xs:group minOccurs="0" maxOccurs="unbounded" ref="topicref"/>
       
    37         <xs:group minOccurs="0" maxOccurs="unbounded" ref="apiItemRef"/>
       
    38       </xs:sequence>
       
    39       <xs:attributeGroup ref="apiItemRef-attlist"/>
       
    40     </xs:complexType>
       
    41   </xs:element>
       
    42   <xs:attributeGroup name="apiItemRef-attlist">
       
    43     <xs:attribute name="navtitle"/>
       
    44     <xs:attribute name="id" type="xs:ID"/>
       
    45     <xs:attribute name="href"/>
       
    46     <xs:attribute name="keyref"/>
       
    47     <xs:attribute name="query"/>
       
    48     <xs:attribute name="conref"/>
       
    49     <xs:attribute name="copy-to"/>
       
    50     <xs:attribute name="collection-type">
       
    51       <xs:simpleType>
       
    52         <xs:restriction base="xs:token">
       
    53           <xs:enumeration value="choice"/>
       
    54           <xs:enumeration value="unordered"/>
       
    55           <xs:enumeration value="sequence"/>
       
    56           <xs:enumeration value="family"/>
       
    57           <xs:enumeration value="-dita-use-conref-target"/>
       
    58         </xs:restriction>
       
    59       </xs:simpleType>
       
    60     </xs:attribute>
       
    61     <xs:attribute name="type" default="apiRef"/>
       
    62     <xs:attribute name="scope">
       
    63       <xs:simpleType>
       
    64         <xs:restriction base="xs:token">
       
    65           <xs:enumeration value="local"/>
       
    66           <xs:enumeration value="peer"/>
       
    67           <xs:enumeration value="external"/>
       
    68           <xs:enumeration value="-dita-use-conref-target"/>
       
    69         </xs:restriction>
       
    70       </xs:simpleType>
       
    71     </xs:attribute>
       
    72     <xs:attribute name="locktitle">
       
    73       <xs:simpleType>
       
    74         <xs:restriction base="xs:token">
       
    75           <xs:enumeration value="yes"/>
       
    76           <xs:enumeration value="no"/>
       
    77           <xs:enumeration value="-dita-use-conref-target"/>
       
    78         </xs:restriction>
       
    79       </xs:simpleType>
       
    80     </xs:attribute>
       
    81     <xs:attribute name="format"/>
       
    82     <xs:attribute name="linking">
       
    83       <xs:simpleType>
       
    84         <xs:restriction base="xs:token">
       
    85           <xs:enumeration value="targetonly"/>
       
    86           <xs:enumeration value="sourceonly"/>
       
    87           <xs:enumeration value="normal"/>
       
    88           <xs:enumeration value="none"/>
       
    89           <xs:enumeration value="-dita-use-conref-target"/>
       
    90         </xs:restriction>
       
    91       </xs:simpleType>
       
    92     </xs:attribute>
       
    93     <xs:attribute name="toc">
       
    94       <xs:simpleType>
       
    95         <xs:restriction base="xs:token">
       
    96           <xs:enumeration value="yes"/>
       
    97           <xs:enumeration value="no"/>
       
    98           <xs:enumeration value="-dita-use-conref-target"/>
       
    99         </xs:restriction>
       
   100       </xs:simpleType>
       
   101     </xs:attribute>
       
   102     <xs:attribute name="print">
       
   103       <xs:simpleType>
       
   104         <xs:restriction base="xs:token">
       
   105           <xs:enumeration value="yes"/>
       
   106           <xs:enumeration value="no"/>
       
   107           <xs:enumeration value="-dita-use-conref-target"/>
       
   108         </xs:restriction>
       
   109       </xs:simpleType>
       
   110     </xs:attribute>
       
   111     <xs:attribute name="search">
       
   112       <xs:simpleType>
       
   113         <xs:restriction base="xs:token">
       
   114           <xs:enumeration value="yes"/>
       
   115           <xs:enumeration value="no"/>
       
   116           <xs:enumeration value="-dita-use-conref-target"/>
       
   117         </xs:restriction>
       
   118       </xs:simpleType>
       
   119     </xs:attribute>
       
   120     <xs:attribute name="chunk"/>
       
   121     <xs:attributeGroup ref="select-atts"/>
       
   122     <xs:attributeGroup ref="global-atts"/>
       
   123     <xs:attribute name="class" default="- map/topicref apiMap/apiItemRef "/>
       
   124   </xs:attributeGroup>
       
   125 </xs:schema>