xsl-list
[Top] [All Lists]

Re: skipping table-header of fo:table if empty

2002-12-13 15:15:00
Lee, Insoo wrote:
Hello -
Is it possible to print table-header of fo:table only if there is anything
that goes into table-body?
I will have to have multiple tables and I'd like to skip the table headings
if it's empty table.
Thanks

How are you generating the FO instance? If it's via XSLT, should be able to check whether or not there will be any body content and simply not produce a table. You may need to tell us more about precisely what you're doing and now.

But to answer your specific question, no, there is no way to make a normal table header conditional on the presence of a table body (but if you are using the region-before trick, you can do it by emitting empty markers before the table, but I suspect that that's not applicable in this case.

Cheers,

E.
--
W. Eliot Kimber, eliot(_at_)isogen(_dot_)com
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>