code-srv-test/dita-ot-3.6/plugins/org.oasis-open.dita.v1_3/schema-url/base/xsd/indexingDomain.xsd
2021-03-23 22:38:58 +00:00

164 lines
7.1 KiB
XML
Executable file

<?xml version="1.0" encoding="UTF-8"?>
<!--=============================================================-->
<!-- HEADER -->
<!--=============================================================-->
<!-- MODULE: DITA Indexing Domain -->
<!-- VERSION: 1.2 -->
<!-- DATE: November 2009 -->
<!-- -->
<!--=============================================================-->
<!--=============================================================-->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!-- -->
<!-- Refer to this file by the following public identifier or an -->
<!-- appropriate system identifier -->
<!--PUBLIC "-//OASIS//ELEMENTS DITA Indexing Domain//EN" -->
<!-- Delivered as file "indexingDomain.mod" -->
<!--=============================================================-->
<!--SYSTEM: Darwin Information Typing Architecture (DITA) -->
<!-- -->
<!--PURPOSE: Declaring the elements and specialization -->
<!-- attributes for the DITA Indexing Domain -->
<!-- -->
<!--ORIGINAL CREATION DATE: -->
<!-- June 2006 -->
<!-- -->
<!-- (C) Copyright OASIS Open 2006, 2009. -->
<!-- All Rights Reserved. -->
<!-- UPDATES: -->
<!-- 2007.12.01 EK: Reformatted DTD modules for DITA 1.2 -->
<!-- 2008.02.13 RDA: Create .content and .attributes entities -->
<!--=============================================================-->
<!-- -->
<xs:schema xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>
<dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(topic indexing-d)</dita:domainsModule>
</xs:appinfo>
</xs:annotation>
<xs:group name="index-see">
<xs:sequence>
<xs:choice>
<xs:element ref="index-see"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:group name="index-see-also">
<xs:sequence>
<xs:choice>
<xs:element ref="index-see-also"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:group name="index-sort-as">
<xs:sequence>
<xs:choice>
<xs:element ref="index-sort-as"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:group name="indexing-d-index-base">
<xs:choice>
<xs:element ref="index-see"/>
<xs:element ref="index-see-also"/>
<xs:element ref="index-sort-as"/>
</xs:choice>
</xs:group>
<xs:element name="index-see">
<xs:annotation>
<xs:documentation>An &lt;index-see&gt; element within an &lt;indexterm&gt; redirects the reader to another index entry that the reader should reference instead of the current one. Category:
Indexing domain elements</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="index-see.class">
<xs:attribute ref="class" default="+ topic/index-base indexing-d/index-see "/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="index-see.class" mixed="true">
<xs:sequence>
<xs:group ref="index-see.content"/>
</xs:sequence>
<xs:attributeGroup ref="index-see.attributes"/>
</xs:complexType>
<xs:group name="index-see.content">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="words.cnt"/>
<xs:group ref="ph"/>
<xs:group ref="indexterm"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:attributeGroup name="index-see.attributes">
<xs:attribute name="keyref" type="xs:string"/>
<xs:attributeGroup ref="univ-atts"/>
<xs:attributeGroup ref="global-atts"/>
</xs:attributeGroup>
<xs:element name="index-see-also">
<xs:annotation>
<xs:documentation>An &lt;index-see-also&gt; element within an &lt;indexterm&gt; redirects the reader to another index entry that the reader should reference in addition to the current one.
Category: Indexing domain elements</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="index-see-also.class">
<xs:attribute ref="class" default="+ topic/index-base indexing-d/index-see-also "/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="index-see-also.class" mixed="true">
<xs:sequence>
<xs:group ref="index-see-also.content"/>
</xs:sequence>
<xs:attributeGroup ref="index-see-also.attributes"/>
</xs:complexType>
<xs:group name="index-see-also.content">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="words.cnt"/>
<xs:group ref="ph"/>
<xs:group ref="indexterm"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:attributeGroup name="index-see-also.attributes">
<xs:attribute name="keyref" type="xs:string"/>
<xs:attributeGroup ref="univ-atts"/>
<xs:attributeGroup ref="global-atts"/>
</xs:attributeGroup>
<xs:element name="index-sort-as">
<xs:annotation>
<xs:documentation>The &lt;index-sort-as&gt; element specifies a sort phrase under which an index entry would be sorted. Category: Indexing domain elements</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="index-sort-as.class">
<xs:attribute ref="class" default="+ topic/index-base indexing-d/index-sort-as "/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="index-sort-as.class" mixed="true">
<xs:sequence>
<xs:group ref="index-sort-as.content"/>
</xs:sequence>
<xs:attributeGroup ref="index-sort-as.attributes"/>
</xs:complexType>
<xs:group name="index-sort-as.content">
<xs:sequence>
<xs:group ref="words.cnt" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:group>
<xs:attributeGroup name="index-sort-as.attributes">
<xs:attribute name="keyref" type="xs:string"/>
<xs:attributeGroup ref="univ-atts"/>
<xs:attributeGroup ref="global-atts"/>
</xs:attributeGroup>
</xs:schema>