OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: ID req'd for table?


/ "Dombrowski, James" <James.Dombrowski@compuware.com> was heard to say:
| We are using DocBk XML V3.1.4 with a customization layer on top. Can someone
| tell me how to make the ID attribute "required" for tables? I've been able
| to accomplish this for other elements, but am having trouble determining
| where in the DTD to change this attribute for tables.

While it's highly non-obvious (and could be made much easier, but
we didn't add extra PEs to the CALS table model DTD because we don't
own it), adding this to your customization layer will work:

<!ENTITY % secur
	"%idreq.common.attrib;
	%tables.role.attrib;">

It has the unfortunate side-effect that it makes ID attributes
required on informaltables as well. Mumble. You might have to
edit a copy of calstblx.dtd and point to your copy if you need
more control.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Everything the same; everything
http://www.oasis-open.org/docbook/ | distinct.
Chair, DocBook Technical Committee |


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC