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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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