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?


Norm,

I've tried your suggestion with no success. I added the "secur" entity that
you provided to the end of the main DTD file of my customization layer.
Everything compiles successfully (using ArborText Document Architect), but
the ID attribute for tables still does not show as being a required
attribute . Am I placing this entity in the correct location in my
customization layer? Am I missing something else?

Jim Dombrowski
Compuware Corp.

-----Original Message-----
From: Norman Walsh [mailto:ndw@nwalsh.com]
Sent: Friday, May 26, 2000 7:52 AM
To: docbook@lists.oasis-open.org
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