- From: Jim Donnelly <jdonnelly@saleslogix.com>
- Date: Tue, 9 Sep 2003 10:08:01 -0700
- To: <www-xsl-fo@w3.org>
- Message-ID: <D87AAFD855AD0A4DA3EF32A061836175016956B3@mail.interactcommerce.com>
Hi; I'm creating calender templates using SLX:FO. Many of the templates share common behavior. For example a week calender may display a small month calender in the header. Same with a day calender and so on. I've created a small month template and I'm attempting to include it into my week calender. I'm using XMLSPY and I can step through the small month templates as it is called. However, I'm getting errors from XMLSPY .... [ERROR} unknown formating object ^table [ERROR} unknown formating object ^table_column .... I've included snip-its of code below. Is this the a good approach for shareing common behavior? If so what am I missing? Other than to little sleep..... Regards This is a snip-it from the main template: ... <xsl:include href="Month.xsl"/> ... <fo:table-cell> <fo:block> <xsl:call-template name="show_month"> </xsl:call-template </fo:block> </fo:table-cell> ... This is a snip-it from the called template: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template name="show_month"> <fo:table display-align="center"> <fo:table-column column-width="0.5cm"/> <fo:table-column column-width="0.5cm"/> <fo:table-column column-width="0.5cm"/> <fo:table-column column-width="0.5cm"/> <fo:table-column column-width="0.5cm"/> <fo:table-column column-width="0.5cm"/> <fo:table-column column-width="0.5cm"/> <fo:table-body> <fo:table-row> <fo:table-cell border-before-width="0.2pt"> <fo:block font="Helvetica 5pt bold" text-align="center">S</fo:block> </fo:table-cell> <fo:table-cell border-before-width="0.2pt"> <fo:block font="Helvetica 5pt bold " text-align="center">M</fo:block> </fo:table-cell> <fo:table-cell border-before-width="0.2pt"> <fo:block font="Helvetica 5pt bold" text-align="center">T</fo:block> </fo:table-cell> <fo:table-cell border-before-width="0.2pt"> <fo:block font="Helvetica 5pt bold" text-align="center">W</fo:block> </fo:table-cell> <fo:table-cell border-before-width="0.2pt"> <fo:block font="Helvetica 5pt bold" text-align="center">T</fo:block> </fo:table-cell> <fo:table-cell border-before-width="0.2pt"> <fo:block font="Helvetica 5pt bold" text-align="center">F</fo:block> </fo:table-cell> <fo:table-cell border-before-width="0.2pt"> <fo:block font="Helvetica 5pt bold " text-align="center">S</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </xsl:template> </xsl:stylesheet> This e-mail message and all attachments transmitted with it may be confidential and are intended solely for the addressee(s). If you are not the intended recipient or the person responsible for delivering it to the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachment(s) is strictly prohibited. If you receive this email in error, please immediately notify the sender of the message or Best Software, Inc. by e-mailing postmaster@bestsoftware.com and destroy all copies of this message. Best Software, for the protection of our internal systems and those of our customers, does block most email attachments.
Received on Tuesday, 9 September 2003 13:10:36 UTC