W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2008

Re: Table style templates

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 13 Nov 2008 09:49:14 GMT
Message-Id: <200811130949.mAD9nE6G005421@edinburgh.nag.co.uk>
To: peger@gmx.net
Cc: www-xsl-fo@w3.org

The model for XSL FO is that (more or less) everything is expanded out
in the FO file, but the program that you use to create that file
(usually XSLT) can of course use the features of that language to
organise the generation.

here for example it looks like you could use a named template, something

<xsl:template name="cell">
  <xsl:param name="body"/>
      <fo:table-cell padding-before="1pt" padding-after="1pt"
padding-start="2pt" padding-end="2pt"
      <fo:block><xsl:value-of select="$body/></fo:block>


  <xsl:param name="body" select="format"/>
  <xsl:param name="body" select="sector"/>


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
Received on Thursday, 13 November 2008 09:49:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:32 UTC