<?xml version="1.0"?>
<!DOCTYPE application SYSTEM "config_5.3.dtd">
<?dctm xml_app="Ignore"?>
<!--
     Copyright 2007 JustSystems Canada Inc.
 
     This XMetaL extension is the property of JustSystems Canada Inc.      
     and its licensors and is protected by copyright.   Modifications of   
     this extension may invalidate any support that you may be entitled to.
     Any reproduction in whole or in part is strictly prohibited.          
 
-->
<application>
  <name>DITABookMap</name>
  <app_pattern>
    <element>bookmap</element>
  </app_pattern>
  <map_rules>
    <entity_rule>
      <location>
        <path>entities</path>
        <object_type/>
      </location>
      <object_type>dm_document</object_type>
    </entity_rule>
    <xml_content_rule editable_virtual_doc="false" export="inline" make_object="true">
      <!--rule_name:Apply to bookmap-->
      <element_selection_pattern>
        <element>bookmap</element>
      </element_selection_pattern>
      <object_type>xm_dita_map</object_type>
      <make_entity/>
    </xml_content_rule>

    <!-- Keydef definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic keydef-->
      <element_selection_pattern>
        <element>keydef</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>dm_document</object_type>
      <permanent_link/>
    </link_rule>

    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file ditavalref-->
      <element_selection_pattern>
        <element>ditavalref</element>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>dm_document</object_type>
      <permanent_link/>
    </link_rule>

    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file keydef-->
      <element_selection_pattern>
        <element>keydef</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>dm_document</object_type>
      <permanent_link/>
    </link_rule>

    <!--rule_name:Apply to topic glossref -->
    <link_rule ndata="false" peer_or_child="child">
      <element_selection_pattern>
        <element>glossref</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>dm_document</object_type>
      <permanent_link/>
    </link_rule>

    <link_rule ndata="false" peer_or_child="child">
      <element_selection_pattern>
        <element>glossref</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>dm_document</object_type>
      <permanent_link/>
    </link_rule>

    <!-- Mapref definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic topicref-->
      <element_selection_pattern>
        <element>mapref</element>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- Topicref definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic topicref-->
      <element_selection_pattern>
        <element>topicref</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file topicref-->
      <element_selection_pattern>
        <element>topicref</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map topicref -->
      <element_selection_pattern>
        <element>topicref</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- Navref definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to navref-->
      <element_selection_pattern>
        <element>navref</element>
      </element_selection_pattern>
      <link_target>
        <attr_name>mapref</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- All Conref'd elements-->
    <link_rule ndata="false" peer_or_child="peer">
      <!--rule_name:Apply to *-->
      <element_selection_pattern>
        <element>*</element>
      </element_selection_pattern>
      <link_target>
        <attr_name>conref</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>

    <!-- chapter definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic chapter-->
      <element_selection_pattern>
        <element>chapter</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file chapter-->
      <element_selection_pattern>
        <element>chapter</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map chapter -->
      <element_selection_pattern>
        <element>chapter</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- preface definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic preface-->
      <element_selection_pattern>
        <element>preface</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file preface-->
      <element_selection_pattern>
        <element>preface</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map preface -->
      <element_selection_pattern>
        <element>preface</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- appendix definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic appendix-->
      <element_selection_pattern>
        <element>appendix</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file appendix-->
      <element_selection_pattern>
        <element>appendix</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map appendix -->
      <element_selection_pattern>
        <element>appendix</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- abbrevlist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic abbrevlist-->
      <element_selection_pattern>
        <element>abbrevlist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file abbrevlist-->
      <element_selection_pattern>
        <element>abbrevlist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map abbrevlist -->
      <element_selection_pattern>
        <element>abbrevlist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- ammendments definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic ammendments-->
      <element_selection_pattern>
        <element>ammendments</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file ammendments-->
      <element_selection_pattern>
        <element>ammendments</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map ammendments -->
      <element_selection_pattern>
        <element>ammendments</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- bibliolist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic bibliolist-->
      <element_selection_pattern>
        <element>bibliolist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file bibliolist-->
      <element_selection_pattern>
        <element>bibliolist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map bibliolist -->
      <element_selection_pattern>
        <element>bibliolist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- bookabstract definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic bookabstract-->
      <element_selection_pattern>
        <element>bookabstract</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file bookabstract-->
      <element_selection_pattern>
        <element>bookabstract</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map bookabstract -->
      <element_selection_pattern>
        <element>bookabstract</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- booklist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic booklist-->
      <element_selection_pattern>
        <element>booklist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file booklist-->
      <element_selection_pattern>
        <element>booklist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map booklist -->
      <element_selection_pattern>
        <element>booklist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- booklists definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic booklists-->
      <element_selection_pattern>
        <element>booklists</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file booklists-->
      <element_selection_pattern>
        <element>booklists</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map booklists -->
      <element_selection_pattern>
        <element>booklists</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- colophon definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic colophon-->
      <element_selection_pattern>
        <element>colophon</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file colophon-->
      <element_selection_pattern>
        <element>colophon</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map colophon -->
      <element_selection_pattern>
        <element>colophon</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- dedication definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic dedication-->
      <element_selection_pattern>
        <element>dedication</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file dedication-->
      <element_selection_pattern>
        <element>dedication</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map dedication -->
      <element_selection_pattern>
        <element>dedication</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- draftinfo definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic draftinfo-->
      <element_selection_pattern>
        <element>draftinfo</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file draftinfo-->
      <element_selection_pattern>
        <element>draftinfo</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map draftinfo -->
      <element_selection_pattern>
        <element>draftinfo</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- figurelist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic figurelist-->
      <element_selection_pattern>
        <element>figurelist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file figurelist-->
      <element_selection_pattern>
        <element>figurelist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map figurelist -->
      <element_selection_pattern>
        <element>figurelist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- frontmatter definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic frontmatter-->
      <element_selection_pattern>
        <element>frontmatter</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file frontmatter-->
      <element_selection_pattern>
        <element>frontmatter</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map frontmatter -->
      <element_selection_pattern>
        <element>frontmatter</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- glossarylist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic glossarylist-->
      <element_selection_pattern>
        <element>glossarylist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file glossarylist-->
      <element_selection_pattern>
        <element>glossarylist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map glossarylist -->
      <element_selection_pattern>
        <element>glossarylist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- indexlist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic indexlist-->
      <element_selection_pattern>
        <element>indexlist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file indexlist-->
      <element_selection_pattern>
        <element>indexlist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map indexlist -->
      <element_selection_pattern>
        <element>indexlist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- notices definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic notices-->
      <element_selection_pattern>
        <element>notices</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file notices-->
      <element_selection_pattern>
        <element>notices</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map notices -->
      <element_selection_pattern>
        <element>notices</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>


    <!-- part definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic part-->
      <element_selection_pattern>
        <element>part</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file part-->
      <element_selection_pattern>
        <element>part</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map part -->
      <element_selection_pattern>
        <element>part</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- tablelist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic tablelist-->
      <element_selection_pattern>
        <element>tablelist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file tablelist-->
      <element_selection_pattern>
        <element>tablelist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map tablelist -->
      <element_selection_pattern>
        <element>tablelist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- toc definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic toc-->
      <element_selection_pattern>
        <element>toc</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file toc-->
      <element_selection_pattern>
        <element>toc</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map toc -->
      <element_selection_pattern>
        <element>toc</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

    <!-- trademarklist definitions -->
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to topic trademarklist-->
      <element_selection_pattern>
        <element>trademarklist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>dita</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_topic</object_type>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to file trademarklist-->
      <element_selection_pattern>
        <element>trademarklist</element>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>peer</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <permanent_link/>
    </link_rule>
    <link_rule ndata="false" peer_or_child="child">
      <!--rule_name:Apply to map trademarklist -->
      <element_selection_pattern>
        <element>trademarklist</element>
        <attribute_test>
          <attr_name>format</attr_name>
          <value>ditamap</value>
        </attribute_test>
        <attribute_test>
          <attr_name>scope</attr_name>
          <value>local</value>
        </attribute_test>
      </element_selection_pattern>
      <link_target>
        <attr_name>href</attr_name>
      </link_target>
      <object_type>xm_dita_map</object_type>
      <permanent_link/>
    </link_rule>

  </map_rules>
</application>
