[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Table not being rendered-bug or xsl?
Whitney, Dan (FPDG) wrote:
Am using fop 0.20.4 and am having trouble with the following xml. The table is not being rendered at all. However if I remove the TABLE parent P it renders fine. Is this a bug or am I missing something. I also tried putting the template rules for P and TABLE as a for-each rule within the RECORDITEM template with no success.
Possible problems: - Your XML source generates two cells per row, the table however has 4 columns declared. - The table is nested into block with margins and text-indents, which are cumulated and inherited to the table cells, thereby shifting text off the cells. - It may be possible that you have a FOP version which does not like mixed text and blocks. Altough this is alloowed by the spec, FOP behaves sometimes a bit unpreditably. Try to use <xsl:apply-templates select="*"/> in the template for RECORDITEM to test for this. J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|