RE: table in xsl-region-before

2003-05-21 Thread Rob Stote
Title: RE: table in xsl-region-before





David: 


 Are you xsl:apply-templates mode=header/ or do you want to  xsl:call-template name=/ try naming you template and calling  from within the table.

Just a guess


Rob


-Original Message-
From: Holk, David A [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 21, 2003 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: fo:table in xsl-region-before


The code below causes FOP to throw this exception:


Currently only table rows are supported in table body, header, and footer.



I am using the same technique in another table in the xsl-region-body
without a problem. Does FOP have a problem with tables in the region-before?



Any comments or suggestions appreciated.


Dave



 fo:static-content flow-name=xsl-region-before
  fo:table
   fo:table-column column-width=80mm/
   fo:table-column column-width=80mm/
   fo:table-column column-width=80mm/
   fo:table-body
xsl:apply-templates mode=header/
   /fo:table-body
  /fo:table
 /fo:static-content


 xsl:template match=header-column mode=header
  fo:table-cell border-width=0.5mm
   fo:block font-size=9pt
xsl:value-of select=./
   /fo:block
  /fo:table-cell
 /xsl:template



LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





RE: table in xsl-region-before

2003-05-21 Thread Holk, David A
Title: RE: table in xsl-region-before



As 
Johannes pointed out, I just missed my fo:table-row declaration (doh!). 


The 
"mode=" attribute of apply-templates has worked perfectly so far for directing 
matches to a particular table (of several in the page).I hope I am not 
grossly misusing it.

  -Original Message-From: Rob Stote 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 21, 2003 
  11:49 AMTo: '[EMAIL PROTECTED]'Subject: RE: table 
  in xsl-region-before
  David: 
   Are you 
  "xsl:apply-templates mode="header"/" or do you want to 
   "xsl:call-template name=""/" try 
  naming you template and calling  from within the 
  table.
  Just a guess 
  Rob 
  -Original Message- From: Holk, 
  David A [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, May 21, 2003 11:36 AM 
  To: '[EMAIL PROTECTED]' Subject: fo:table in xsl-region-before 
  The code below causes FOP to throw this exception: 
  "Currently only table rows are supported in table body, 
  header, and footer." 
  I am using the same technique in another table in the 
  xsl-region-body without a problem. Does FOP have a 
  problem with tables in the region-before? 
  Any comments or suggestions appreciated. 
  Dave 
   fo:static-content flow-name="xsl-region-before" 
   
   fo:table  
   
   fo:table-column 
  column-width="80mm"/  
   
   fo:table-column 
  column-width="80mm"/  
   
   fo:table-column 
  column-width="80mm"/  
   
   fo:table-body 
   
   
   
   xsl:apply-templates mode="header"/ 
   
   
   /fo:table-body 
   
   /fo:table  
  /fo:static-content 
   xsl:template 
  match="header-column" mode="header" 
   
   fo:table-cell 
  border-width="0.5mm"  
   
   fo:block 
  font-size="9pt"  
   
   
   xsl:value-of 
  select="."/  
   
   /fo:block  
   /fo:table-cell 
   /xsl:template 
  LEGAL NOTICE Unless expressly stated 
  otherwise, this message is confidential and may be privileged. It is intended 
  for the addressee(s) only. Access to this E-mail by anyone else is 
  unauthorized. If you are not an addressee, any disclosure or copying of the 
  contents of this E-mail or any action taken (or not taken) in reliance on it 
  is unauthorized and may be unlawful. If you are not an addressee, please 
  inform the sender immediately.
  - 
  To unsubscribe, e-mail: 
  [EMAIL PROTECTED] For additional 
  commands, e-mail: [EMAIL PROTECTED]