Bonjour tous le monde

j'ai un probleme bebete, mais comme je connais pas grande chose en xsl, je suis bloquer

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
<?xml version='1.0'?>
<jdbTabXML>
  <DBColumns>
    <Colums>DC</Colums>
    <Rows>
      <Row>C</Row>
      <Row>C</Row>
      <Row>D</Row>
      <Row>C</Row>
    /Rows>
  </DBColumns>
  <DBColumns>
    <Colums>ORIGINE</Colums>
    <Rows>
      <Row>S</Row>
      <Row>S</Row>
      <Row>S</Row>
      <Row>S</Row>
    </Rows> 
 </DBColumns>
</jdbTabXML>
je souhaite faire un tableau s'affichant un peu prés comme ça
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
       DC     ORIGINE
   ----------------------
        C            S
        C            S
        D            S
        C            S
le probleme jusqu'à maintenent j'ai ou bien ça ou ça....ect...ect
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
 
    DC     ORIGINE
   ----------------------
        C            
        C                   
        D  
        C   
        S
        S
        S
        S  
 
       DC     ORIGINE
   ----------------------
        C C DC 
        SSS S

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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>
merci d'avance pour cette âme veillante qui poura m'aider