code-srv-test/dita-ot-3.6/plugins/org.oasis-open.dita.techcomm.v2_0/rng/bookmap/bookmap.rng
2021-03-23 22:38:58 +00:00

133 lines
6.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:oasis:names:tc:dita:rng:checkShell.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="urn:oasis:names:tc:dita:rng:vocabularyModuleDesc.rng"
schematypens="http://relaxng.org/ns/structure/1.0"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:dita="http://dita.oasis-open.org/architecture/2005/"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
<moduleDesc xmlns="http://dita.oasis-open.org/architecture/2005/">
<moduleTitle>DITA Book Map Shell</moduleTitle>
<headerComment xml:space="preserve">
=============================================================
HEADER
=============================================================
Darwin Information Typing Architecture (DITA) Version 2.0
[[[Draft level]]]
[[[Release date]]]
Copyright (c) OASIS Open 2018. All rights reserved.
Source: [[[Source link]]]
============================================================
MODULE: DITA Bookmap
VERSION: 2.0
DATE: [[[Release date]]]
PURPOSE: DTD to describe DITA Book Maps
=============================================================
=============================================================
PUBLIC DOCUMENT TYPE DEFINITION
TYPICAL INVOCATION
Refer to this file by the following public identifier or an
appropriate system identifier
PUBLIC "-//OASIS//DTD DITA 2.x BookMap//EN"
Delivered as file "bookmap.dtd"
The public ID above refers to the latest version of this DTD.
To refer to this specific version, use this value:
PUBLIC "-//OASIS//DTD DITA 2.0 BookMap//EN"
=============================================================
(C) Copyright OASIS Open 2006, 2019
(C) Copyright IBM Corporation 2004, 2005.
All Rights Reserved.
UPDATES:
2019.12.11 KJE: Updated for DITA 2.0
=============================================================
</headerComment>
<moduleMetadata>
<moduleType>mapshell</moduleType>
<moduleShortName>bookmap</moduleShortName>
<shellPublicIds>
<dtdShell>-//OASIS//DTD DITA<var presep=" " name="ditaver"/> BookMap//EN</dtdShell>
<rngShell>urn:oasis:names:tc:dita:rng:bookmap.rng<var presep=":" name="ditaver"/></rngShell>
</shellPublicIds>
</moduleMetadata>
</moduleDesc>
<div>
<a:documentation>ROOT ELEMENT DECLARATION</a:documentation>
<start>
<ref name="bookmap.element"/>
</start>
</div>
<div>
<a:documentation>DOMAINS ATTRIBUTE</a:documentation>
<define name="specializations-att" combine="interleave">
<optional>
<attribute name="specializations"
a:defaultValue="@props/audience
@props/deliveryTarget
@props/platform
@props/product
@props/otherprops"/>
</optional>
</define>
</div>
<div>
<a:documentation>MODULE INCLUSIONS</a:documentation>
<!-- Do not remove references to the map group or DITAVALref -->
<!-- domains. The bookmap specialization requires these domains. -->
<include href="urn:oasis:names:tc:dita:rng:mapMod.rng:2.0"/>
<include href="urn:oasis:names:tc:dita:rng:mapGroupMod.rng:2.0"/>
<include href="bookmapMod.rng"/>
<include href="../technicalContent/abbreviateDomain.rng"/>
<include href="urn:oasis:names:tc:dita:rng:audienceAttDomain.rng:2.0"/>
<include href="urn:oasis:names:tc:dita:rng:deliveryTargetAttDomain.rng:2.0" dita:since="1.3"/>
<include href="urn:oasis:names:tc:dita:rng:platformAttDomain.rng:2.0"/>
<include href="urn:oasis:names:tc:dita:rng:productAttDomain.rng:2.0"/>
<include href="urn:oasis:names:tc:dita:rng:otherpropsAttDomain.rng:2.0"/>
<include href="urn:oasis:names:tc:dita:rng:ditavalrefDomain.rng:2.0" dita:since="1.3"/>
<include href="urn:oasis:names:tc:dita:rng:emphasisDomain.rng:2.0"/>
<include href="urn:oasis:names:tc:dita:rng:hazardDomain.rng:2.0"/>
<include href="urn:oasis:names:tc:dita:rng:highlightDomain.rng:2.0"/>
<include href="../technicalContent/hwDomain.rng" dita:since="2.0"/>
<include href="../technicalContent/markupDomain.rng" dita:since="1.3"/>
<include href="../technicalContent/programmingDomain.rng"/>
<include href="../technicalContent/releaseManagementDomain.rng" dita:since="1.3"/>
<include href="../technicalContent/softwareDomain.rng"/>
<include href="../technicalContent/syntaxdiagramDomain.rng" dita:since="2.0"/>
<include href="../technicalContent/uiDomain.rng"/>
<include href="urn:oasis:names:tc:dita:rng:utilitiesDomain.rng:2.0"/>
<include href="../xnal/xnalDomain.rng"/>
<include href="../technicalContent/xmlDomain.rng" dita:since="1.3"/>
</div>
<div>
<a:documentation>ID-DEFINING-ELEMENT OVERRIDES</a:documentation>
<define name="any">
<zeroOrMore>
<choice>
<ref name="idElements"/>
<element>
<anyName>
<except>
<name>map</name>
<name>bookmap</name>
<name>anchor</name>
</except>
</anyName>
<zeroOrMore>
<attribute>
<anyName/>
</attribute>
</zeroOrMore>
<ref name="any"/>
</element>
<text/>
</choice>
</zeroOrMore>
</define>
</div>
</grammar>