This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CALS table


Phillip Shelton <shelton@usq.edu.au> writes:

> I think I meant foot notes to a table and therefore am asking
> does the exchange model allow for footnotes?

Maybe the question of how to treat footnotes in tables is just a
processing issue, not anything to do with the table model used. What I
mean is, as far as the CALS and Exchange Table Model DTDs themselves
go, it seems like you can't really say either DTD "allows" anything
about footnotes -- that is, neither says anything at all about how
footnotes should be included in table cells (Entry elements).

It looks like the Exchange Table Model itself doesn't actually define
any content at all for Entry. I guess that's because it's designed to
be used modularly with any other DTD.

If you look at the Exchange DTD, the content of Entry is defined as a
parameter entity, %tbl.entry.mdl, which the standalone Exchange DTD
just resolves by default to #PCDATA. But the DocBook DTD redefines
%tbl.entry.mdl like this:

  <!ENTITY % tbl.entry.mdl "%para.char.mix; | %tabentry.mix;">

which is how the DocBook content models get pulled into table entries.

>From there, I think the content model you end up with for Entry is the
same whether you use CALS or the Exchange model.

On the processing side, the XSLT stylesheets seem to be set up with a
specific mode -- table.footnote.mode -- for processing footnotes in
tables, which I'm sure works the same no matter which of the two table
models you use. Probably the DSSSL stylesheets have something similar.


> > -----Original Message-----
> > From: Phillip Shelton [mailto:shelton@usq.edu.au]
> > Sent: Monday, 15 October 2001 18:49
> > To: DocBook list (E-mail)
> > Subject: DOCBOOK: CALS table
> > 
> > 
> > Just read the intro to the xml exchange DTD and am wondering,
> > if the model does not allow table footers how should a legacy 
> > doc that does
> > have
> > tables with footers be tagged.  It looks like there is 
> > information being
> > lost due to the
> > adopted table model.




----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]