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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


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



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