On 11/10/2010 04:32 PM, Durkan, Ian wrote:
> 
> I'm using XMLMind XFC to render XSL-FO documents as .docx files, via the
> Java API.  Our documents have many tables and figures, each of which has
> a title ("Table 1", "Figure 10", etc).  I need a way to keep the
> table/figure titles on the same page as their associated content.
> According to the XFC documentation, the keep-together and keep-with-next
> attributes aren't supported for "block-level objects that contain other
> block-level objects".  

You should nevertheless specify such properties for compatibility with
other XSL-FO processors and also because may be this limitation will be
removed in the future. (That's what I do in my own XSLT stylesheets.)



> Our titles are in blocks separate from the
> tables/figures... Has anyone developed a work-around for this?  Is there
> a way in XSL-FO to put a table's title as an element within the table
> element?  Thanks for your help.
> 

May be:

fo:table-and-caption = fo:table-caption?, fo:table

solves the problem for tables.

See http://www.w3.org/TR/xsl/#fo_table-and-caption

See http://www.w3.org/TR/xsl/#fo_table-caption


 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to