Re: Newby help with <fo:flow>

> there any way of transfering the fo namespace into a second (or third)
> template??

namespace handling is essentially part of the original xml parse so if
you have a stylesheet that uses fo:... then it has to declare
xmlns:fo="..." typically on its xsl:stylesheet element (although you can
do it on the element or any ancestor of the element containing the
literal result fo: element.

the table spanning attributes refer to columns in the table, not columns
on the page and your table only has one  column (and one row).

       <!-- THIS TABLE FOR THE HEADER - DOESNT SPAN 3 COLUMNS -->
       <fo:table table-layout="fixed">
          <fo:table-column column-width="136px"/>
          <fo:table-body>
            <fo:table-row>
              <fo:table-cell number-columns-spanned="3"
                border-style="solid">
                <fo:block space-before="18pt"
                  font-family="sans-serif"
                  font-size="16pt"
                  line-height="18pt"
                  text-align="center">
                    <xsl:value-of select="@name"/>
                </fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table>


Basically I think you want an fo:block with span="all" for teh heading
followed by an fo:block with your data. You don't want you use tables as
the choice of which data goes on which row is affected by where the page
break happens, so can't be controlled by XSLT allocating data to table
rows in advance.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Monday, 8 September 2003 12:49:24 UTC