<?xml version="1.0"?>
<grammar xmlns="http://relaxng.org/ns/structure/0.9"
+ xmlns:a="http://relaxng.org/ns/annotation/0.9"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
xmlns:dtd="http://www.oasis-open.org/docbook/relaxng/dtdannotations"
ns="">
<define name="id.attrib">
<optional>
- <attribute name="id">
- <data type="ID"/>
+ <attribute name="id" a:attributeType="ID">
+ <data type="token"/>
</attribute>
</optional>
</define>
default </dtd:comment>
<define name="idreq.attrib">
- <attribute name="id">
- <data type="ID"/>
+ <attribute name="id" a:attributeType="ID">
+ <data type="token"/>
</attribute>
</define>
Other, the OtherAction attribute must have a nonempty value </dtd:comment>
<dtd:comment> OtherAction: User-defined key combination type </dtd:comment>
-<define name="keyaction.attrib.group">
+<define name="keyaction.attrib">
<optional>
<attribute name="action">
<choice>
<define name="linkend.attrib">
<optional>
- <attribute name="linkend">
- <data type="IDREF"/>
+ <attribute name="linkend" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</optional>
</define>
<dtd:comment> Linkend: required link to related information </dtd:comment>
<define name="linkendreq.attrib">
- <attribute name="linkend">
- <data type="IDREF"/>
+ <attribute name="linkend" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</define>
<define name="linkends.attrib">
<optional>
- <attribute name="linkends">
- <data type="IDREFS"/>
+ <attribute name="linkends" a:attributeType="IDREFS">
+ <list>
+ <oneOrMore>
+ <data type="token"/>
+ </oneOrMore>
+ </list>
</attribute>
</optional>
</define>
<div dtd:marked-section="glosssee.attlist">
<define name="glosssee.attlist">
<optional>
- <attribute name="otherterm">
- <data type="IDREF"/>
+ <attribute name="otherterm" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</optional>
<ref name="common.attrib"/>
<div dtd:marked-section="glossseealso.attlist">
<define name="glossseealso.attlist">
<optional>
- <attribute name="otherterm">
- <data type="IDREF"/>
+ <attribute name="otherterm" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</optional>
<ref name="common.attrib"/>
<dtd:pe-decl name="callout.attlist">INCLUDE</dtd:pe-decl>
<div dtd:marked-section="callout.attlist">
<define name="callout.attlist">
- <attribute name="arearefs">
- <data type="IDREFS"/>
+ <attribute name="arearefs" a:attributeType="IDREFS">
+ <list>
+ <oneOrMore>
+ <data type="token"/>
+ </oneOrMore>
+ </list>
</attribute>
<ref name="common.attrib"/>
<ref name="callout.role.attrib"/>
<ref name="role.attrib"/>
</define>
-<dtd:div dtd:marked-section="cals.table.module">
+<!-- hacks -->
+<define name="common.table.attribs">
+ <ref name="bodyatt"/>
+ <ref name="secur"/>
+</define>
+<define name="secur">
+ <ref name="common.attrib"/>
+ <ref name="tables.role.attrib"/>
+</define>
+<!-- /hacks -->
+
+
+<!--
+<div dtd:marked-section="cals.table.module">
<dtd:comment> Add label and role attributes to table and informaltable </dtd:comment>
<define name="bodyatt">
<ref name="label.attrib"/>
<dtd:pe-decl name="tablemodel"
public="-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN"
system="calstblx.dtd"/>
-</dtd:div> <!-- cals.table.module -->
+</div>
+-->
+ <!-- cals.table.module -->
+<!--
<dtd:pe-decl name="exchange.table.module">INCLUDE</dtd:pe-decl>
<div dtd:marked-section="exchange.table.module">
<dtd:comment> Add common attributes and the Label attribute to Table and </dtd:comment>
<dtd:pe-decl name="tablemodel"
public="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
system="soextblx.dtd"/>
-</div> <!-- exchange.table.module -->
+</div>
+-->
+<!-- exchange.table.module -->
<dtd:pe-ref name="tablemodel"/>
<include href="soextblx.rng"/>
<div dtd:marked-section="link.attlist">
<define name="link.attlist">
<optional>
- <attribute name="endterm">
- <data type="IDREF"/>
+ <attribute name="endterm" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</optional>
<ref name="linkendreq.attrib"/>
</attribute>
</optional>
<optional>
- <attribute name="linkmode">
- <data type="IDREF"/>
+ <attribute name="linkmode" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</optional>
<optional>
<div dtd:marked-section="xref.attlist">
<define name="xref.attlist">
<optional>
- <attribute name="endterm">
- <data type="IDREF"/>
+ <attribute name="endterm" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</optional>
<ref name="linkendreq.attrib"/>
</attribute>
</optional>
<optional>
- <attribute name="startref">
- <data type="IDREF"/>
+ <attribute name="startref" a:attributeType="IDREF">
+ <data type="token"/>
</attribute>
</optional>
<optional>
- <attribute name="zone">
- <data type="IDREFS"/>
+ <attribute name="zone" a:attributeType="IDREFS">
+ <list>
+ <oneOrMore>
+ <data type="token"/>
+ </oneOrMore>
+ </list>
</attribute>
</optional>
<ref name="common.attrib"/>