1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<xsl:template match="jdbTabXML">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="page" page-height="35.7cm" page-width="31cm">
<fo:region-body margin-top="2cm" margin-bottom="2.5cm" margin-left="2.5cm" margin-right="2.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="page">
<fo:flow flow-name="xsl-region-body">
<fo:table table-layout="fixed">
<xsl:for-each select="DBColumns">
<fo:table-column column-width="60pt"/>
</xsl:for-each>
<fo:table-body>
<fo:table-row>
<xsl:for-each select="DBColumns">
<fo:table-cell border-style="solid" border-color="green">
<fo:block text-align="center">
<fo:block font-size="12pt" space-after="5pt">
<xsl:apply-templates select="Colums"/>
</fo:block>
</fo:block>
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet> |