Hello,
here is a sample of my xml file that I want to convert in pdf by using fop.
<row>
<cell>
<para column="1" line="1">Session</para>
</cell>
<cell>
<para column="2" line="1">Name</para>
<para column="2" line="2">LAP</para>
</cell>
</row>
the result must be (it is an extract):
...
<fo:page-sequence master-reference="A4">
<fo:flow flow-name="xsl-region-body"
font-family="sans-serif" font-size="12pt">
<fo:table border="solid black">
<fo:table-header text-align="center" font-weight="bold"
background-color="silver">
<fo:table-row border-bottom="solid black">
<fo:table-cell padding="1mm" border-left="solid
black">
<fo:block>Session</fo:block>
</fo:table-cell>
<fo:table-cell padding="1mm" border-left="solid
black">
<fo:block>Name</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row border-bottom="solid black">
<fo:table-cell padding="1mm" border-left="solid
black">
<fo:block></fo:block>
</fo:table-cell>
<fo:table-cell padding="1mm" border-left="solid
black">
<fo:block>LAP</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
...
How can I manage this transformation with XSLT ?
I hope my problem is well explained, if not ask me more information.
Thanks in advance.
stephane