Please help generating a fo from a xml and xsl

Hi All, 

Could someone please help out here.
What i want to know is if it is possible to do the following...

I need to generate a .fo file for FOP, here is a snippet i wrote by hand of
part of my .fo file

<fo:table-header font-family="ArialBold" font-size="10pt" >
                 <fo:table-row >
                    <fo:table-cell  border-style="solid"
                                    border-left-width="0.1pt"
border-right-width="0pt"
                                    border-top-width="0.1pt"
border-bottom-width="0.1pt"
                                    padding-top="0.5pt">

                        <fo:block text-indent="2pt" >Client
Details</fo:block>
                      </fo:table-cell>

                      <fo:table-cell border-style="solid"
                                     border-left-width="0pt"
border-right-width="0.1pt"
                                     border-top-width="0.1pt"
border-bottom-width="0.1pt">
                        <fo:block></fo:block>
                      </fo:table-cell>

                      <fo:table-cell >
                        <fo:block></fo:block>
                      </fo:table-cell>


                      <fo:table-cell border-style="solid"
                                     border-left-width="0.1pt"
border-right-width="0pt"
                                     border-top-width="0.1pt"
border-bottom-width="0.1pt"
                                     padding-top="0.5pt">

                        <fo:block text-indent="2pt">Contact Details And
Numbers</fo:block>
                      </fo:table-cell>

                      <fo:table-cell border-style="solid"
                                     border-left-width="0pt"
border-right-width="0.1pt"
                                     border-top-width="0.1pt"
border-bottom-width="0.1pt">
                        <fo:block></fo:block>
                      </fo:table-cell>

                 </fo:table-row >
              </fo:table-header>

Is it possible to have the similair sort of effect as that of a CSS in HTML
where u can hold some specific formatting eg, as above on my table-cells, to
some sort of file, so that one doesn't have to duplicate the same formatting
for certain cells over and over again, this makes maintainance
impossible....please help.
I read that one can generate the .fo file using an XML and XSL file? Does
anyone have a example and instruction on how to go about this? 

Thanx



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

Received on Friday, 16 November 2001 04:17:00 UTC