This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Nested table: separator problem
- From: "Mauritz Jeanson" <mj at johanneberg dot com>
- To: "'Bob Stayton'" <bobs at sagehill dot net>, "'Pool 475-1 FRD TE-N'" <Pool475-1 dot FRDTE-N at zf dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 29 Oct 2004 19:09:01 +0200
- Subject: RE: [docbook-apps] Nested table: separator problem
> -----Original Message-----
> From: Bob Stayton
> I looked at the stylesheets and found that they were not
> written to handle
> nested tables. There are many instances where a template
> refers its ancestor
> tgroup or table, but does not select the closest ancestor.
> That is what is
> happening in your case.
>
> I asked Norm about this, and here is his response:
>
> "You can't nest CALS tables inside other CALS tables no matter
> how much markup you put in between them. This used to be enforced with
> exclusions in the SGML DTD but now I guess it should be enforced in
> the stylesheets.
And it should perhaps be mentioned in TDG, too!
> I suggest adding a test in table.xsl that reports an error if
> <table> or <informaltable> has an ancestor <table> or <informaltable>.
>
> The workaround for Bjoern is to use HTML tables."
Maybe even easier would be to use <entrytbl>. With <entrytbl> instead of the
nested <informaltable>, the FO output looks fine.
/MJ