IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

XSL/XSLT/XPATH XML Discussion :

[XSL~FO][FOP] passage de la v0.20.5 à la v0.92 (beta)


Sujet :

XSL/XSLT/XPATH XML

  1. #1
    Candidat au Club
    Inscrit en
    Juillet 2006
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 11
    Points : 3
    Points
    3
    Par défaut [XSL~FO][FOP] passage de la v0.20.5 à la v0.92 (beta)
    Je travaille en fait avec la derniere version de fop la 0.92 beta. en fait d'apres ce que j'ai compris en testant, le xsl-fo n'est pas le même (c'est à dire les déclarations ne sont pas les mêmes par ex)lorsqu'on utilise l'ancienne version de fop la 0.20.5 et la derniere pour preuve lorsque j'utilise le xsl-fo qui marche sur lancienne version sur la derniere, ça me sort des problemes de déclaration du style "[Error] journalCotisations.xsl:231:149: Element type "fo:table-cell" must be declared".
    .Ma question est donc la suivante quelqu'un pourrait-il me dire en gros ce qui change dans le xsl-fo lorsqu'on passe de la version 0.20.5 à la 0.92 beta. .merci d'avance

  2. #2
    Membre éclairé
    Inscrit en
    Octobre 2005
    Messages
    847
    Détails du profil
    Informations forums :
    Inscription : Octobre 2005
    Messages : 847
    Points : 841
    Points
    841
    Par défaut
    pour ton pb

    http://xmlgraphics.apache.org/fop/co...ect-table-cell

    sinon pour ta question tu peux t'amuser à regarder tt les tableau
    Ce n’est pas en cassant le thermomètre que vous ferez baisser la température

  3. #3
    Candidat au Club
    Inscrit en
    Juillet 2006
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 11
    Points : 3
    Points
    3
    Par défaut je connait ce lien valal
    merci valal, mais je passe une partie de mon temps sur ce lien et j'y comprend pas gd chose de plus tout est en anglais quelqu'un aurait-il un lien vers des docs en francais

  4. #4
    Membre éclairé
    Inscrit en
    Octobre 2005
    Messages
    847
    Détails du profil
    Informations forums :
    Inscription : Octobre 2005
    Messages : 847
    Points : 841
    Points
    841
    Par défaut
    je ne sais pas, mai je ne pense pas que tu trouveras mieux que ce lien pour ton pb.

    tu as le tableau "XSL-FO Object Support Table" qui n'est pas trés compliqué. il te permet de savoir pour tt les attribut ou élement s'ils sont supportés dans les deux version que tu utilise et si bésoint te donne un commentaire.

    n'hésite pas si tu as bésoin de plus d'explication.
    Ce n’est pas en cassant le thermomètre que vous ferez baisser la température

  5. #5
    Membre actif
    Avatar de Fildz
    Profil pro
    Inscrit en
    Juin 2004
    Messages
    161
    Détails du profil
    Informations personnelles :
    Âge : 39
    Localisation : France

    Informations forums :
    Inscription : Juin 2004
    Messages : 161
    Points : 272
    Points
    272
    Par défaut
    C'est vrai qu'on peut pas dire qu'elle est vraiment belle cette documentation du XSL-FO .

  6. #6
    Membre éclairé
    Inscrit en
    Octobre 2005
    Messages
    847
    Détails du profil
    Informations forums :
    Inscription : Octobre 2005
    Messages : 847
    Points : 841
    Points
    841
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    C'est vrai qu'on peut pas dire qu'elle est vraiment belle cette documentation du XSL-FO
    chui d'accord, mais j'ai pas trouvé mieux



    si tu veux voir un aperçu de ce que tu dois faire, jete un coup d'oeil ici :

    http://xmlgraphics.apache.org/fop/0.92/upgrading.html

    bonne chance.
    Ce n’est pas en cassant le thermomètre que vous ferez baisser la température

  7. #7
    Candidat au Club
    Inscrit en
    Juillet 2006
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 11
    Points : 3
    Points
    3
    Par défaut
    merci pour vos interventions, j'ai vais encore essayer de me pencher dessus. Je vous tient au courant.

  8. #8
    Candidat au Club
    Inscrit en
    Juillet 2006
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 11
    Points : 3
    Points
    3
    Par défaut
    je vais vs presenter mon fichier xsl-fo ki ne marche pas sur fop 0.92beta car je suis dépassé

  9. #9
    Candidat au Club
    Inscrit en
    Juillet 2006
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 11
    Points : 3
    Points
    3
    Par défaut
    vs allez
    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
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    <?xml version="1.0" encoding="ISO-8859-1"?>
     
    <!DOCTYPE xml [<!ENTITY copy "©"> <!ENTITY trade "™"> <!ENTITY deg "&#x00b0;"> <!ENTITY gt ">"> <!ENTITY sup2 "&#x00b2;"> <!ENTITY frac14 "&#x00bc;"> <!ENTITY quot """> <!ENTITY frac12 "&#x00bd;"> <!ENTITY euro "&#x20ac;"> <!ENTITY Omega "Ω"> ]> <!-- Document generated with XSLfast v2.0 alpha -->
     
    <xsl:stylesheet xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:print="http://www.jcatalog.com/com.jcatalog.output.xslextensions.print.PrintElementFactory" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon print" >
     
    <xsl:variable name="currentDate" >26-05-2004 16:34:24</xsl:variable>
    <xsl:variable name="IMAGEEXT">gif</xsl:variable>
    <xsl:template match="journalAppels">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <fo:layout-master-set>
        <fo:simple-page-master master-name="pagemaster1" page-height="598.0pt" page-width="845.0pt">
          <fo:region-body margin-left="28pt" margin-top="28pt" margin-bottom="53pt" margin-right="28pt">
          </fo:region-body>
          <fo:region-before extent="28pt" precedence="true"/>
          <fo:region-after extent="53pt" precedence="true"/>
          <fo:region-start extent="28pt" precedence="false"/>
          <fo:region-end extent="28pt" precedence="false"/>
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-name="pagemaster1" master-reference="pagemaster1">
    <fo:static-content flow-name="xsl-region-before">
    </fo:static-content>
    <fo:static-content flow-name="xsl-region-after">
    <fo:block-container position="absolute" top="19pt" left="276pt" height="16.0pt" width="137.0pt" border-width="1.0pt" display-align="before">
    <fo:block span="none" white-space-collapse="true"  color="#000000" font-family="Times New Roman" font-size="10.0pt" text-align="end" position="relative" top="19pt" left="276pt" height="16.0pt" width="137.0pt">
    <fo:page-number /></fo:block>
    </fo:block-container>
    <fo:block-container position="absolute" top="19pt" left="416pt" height="16.0pt" width="13.0pt" border-width="1.0pt" display-align="before">
    <fo:block span="none" white-space-collapse="true"  color="#000000" font-family="Times New Roman" font-size="10.0pt" text-align="start" position="relative" top="19pt" left="416pt" height="16.0pt" width="13.0pt">
    <xsl:text>/</xsl:text></fo:block>
    </fo:block-container>
    <fo:block-container position="absolute" top="19pt" left="423pt" height="16.0pt" width="157.0pt" border-width="1.0pt" display-align="before">
    <fo:block span="none" white-space-collapse="true"  color="#000000" font-family="Times New Roman" font-size="10.0pt" text-align="start" position="relative" top="19pt" left="423pt" height="16.0pt" width="157.0pt">
    <fo:page-number-citation ref-id="n" /></fo:block>
    </fo:block-container>
    </fo:static-content>
    <fo:static-content flow-name="xsl-region-start">
    </fo:static-content>
    <fo:static-content flow-name="xsl-region-end">
    </fo:static-content>
        <fo:flow flow-name="xsl-region-body">
        <fo:block/>
    <fo:block span="none">
    <fo:table table-layout="fixed">
    <fo:table-column column-width="412pt"/>
    <fo:table-column column-width="377pt"/>
    <fo:table-header>
    <fo:table-row>
    <fo:table-cell padding-bottom="10.0pt" text-align="start" display-align="before">
    <xsl:call-template name="entete"></xsl:call-template></fo:table-cell>
    <fo:table-cell text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="italic">
    <xsl:value-of disable-output-escaping="no" select="date"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header>
    <fo:table-body>
    <fo:table-row>
    <fo:table-cell number-columns-spanned="2" text-align="start" display-align="before">
    <xsl:call-template name="tabPrinc"></xsl:call-template></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
    <fo:table-cell padding-top="10.0pt" number-columns-spanned="2" text-align="start" display-align="before">
    <xsl:call-template name="total"></xsl:call-template></fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:block><fo:block-container position="absolute" top="492pt" left="660pt" height="15.0pt" width="116.0pt" border-width="1.0pt" display-align="before">
    <fo:block span="none" white-space-collapse="true"  color="#000000" font-family="Arial" font-size="12.0pt" text-align="start" position="relative" top="520pt" left="688pt" height="15.0pt" width="116.0pt">
    <fo:block id="n"/></fo:block>
    </fo:block-container>
        </fo:flow>
      </fo:page-sequence>
    </fo:root>
    </xsl:template>
    <xsl:template match="b">
     <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <xsl:template match="u">
     <fo:inline text-decoration="underline"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <xsl:template match="i">
     <fo:inline font-style="italic"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <xsl:template match="s">
     <fo:inline font-size="{@s}"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <xsl:template match="UP">
     <fo:inline vertical-align="super"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <xsl:template match="DN">
     <fo:inline vertical-align="sub"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <xsl:template match="sup">
     <fo:inline vertical-align="super"><xsl:apply-templates/></fo:inline>
    </xsl:template>
    <xsl:template match="sub">
     <fo:inline vertical-align="sub"><xsl:apply-templates/></fo:inline>
    </xsl:template>
     
    <!-- GENERATED TEMPLATE tabPrinc -->
    <xsl:template name="tabPrinc" >
    <!-- GENERATE TABLE START-->
     
    <fo:table table-layout="fixed">
    <fo:table-column column-width="56pt"/>
    <fo:table-column column-width="227pt"/>
    <fo:table-column column-width="77pt"/>
    <fo:table-column column-width="65pt"/>
    <fo:table-column column-width="31pt"/>
    <fo:table-column column-width="110pt"/>
    <fo:table-column column-width="110pt"/>
    <fo:table-column column-width="110pt"/>
    <fo:table-header>
    <fo:table-row>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>CODE</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>INTITULE ADHERENT</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>DATE</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>N° PIECE</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>T</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>MONTANT HT</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>MONTANT TVA</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-bottom-style="solid" border-bottom-width="2.0pt" border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" padding-bottom="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>MONTANT TTC</xsl:text></fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header>
    <fo:table-body>
    <xsl:for-each select="appel">
    <fo:table-row>
    <fo:table-cell padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="code"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="intituleAdherent"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="dateAppel"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="numeroPiece"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="codeTarif"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell padding-right="20.0pt" padding-top="3.0pt" text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="totalAppelHT"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell padding-right="20.0pt" padding-top="3.0pt" text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="totalAppelTVA"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell padding-right="20.0pt" padding-top="3.0pt" text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="totalAppelTTC"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </xsl:template>
     
    <!-- GENERATED TEMPLATE total -->
    <xsl:template name="total" >
    <!-- GENERATE TABLE START-->
     
    <fo:table table-layout="fixed">
    <fo:table-column column-width="55pt"/>
    <fo:table-column column-width="60pt"/>
    <fo:table-column column-width="168pt"/>
    <fo:table-column column-width="173pt"/>
    <fo:table-column column-width="110pt"/>
    <fo:table-column column-width="110pt"/>
    <fo:table-column column-width="110pt"/>
    <fo:table-body>
    <fo:table-row>
    <fo:table-cell border-top-style="solid" border-top-width="2.0pt" padding-right="3.0pt" padding-top="3.0pt" text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="nbAdherents"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>ADHERENT(s)</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Arial" font-size="12.0pt">
    </fo:block>
    </fo:table-cell>
    <fo:table-cell border-top-style="solid" border-top-width="2.0pt" padding-top="3.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:text>TOTAL GENERAL</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell border-top-style="solid" border-top-width="2.0pt" padding-right="20.0pt" padding-top="3.0pt" text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="totalHT"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell border-top-style="solid" border-top-width="2.0pt" padding-right="20.0pt" padding-top="3.0pt" text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="totalTVA"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell border-top-style="solid" border-top-width="2.0pt" padding-right="20.0pt" padding-top="3.0pt" text-align="end" display-align="before">
    <fo:block white-space-collapse="true"  text-align="end" color="#000000" font-family="Times New Roman" font-size="12.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="totalTTC"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </xsl:template>
     
    <!-- GENERATED TEMPLATE entete -->
    <xsl:template name="entete" >
    <!-- GENERATE TABLE START-->
     
    <fo:table table-layout="fixed">
    <fo:table-column column-width="325pt"/>
    <fo:table-body>
    <fo:table-row>
    <fo:table-cell padding-bottom="10.0pt" text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="14.0pt" font-weight="bold">
    <xsl:text>JOURNAL DES COTISATIONS - </xsl:text><xsl:value-of select="type"/></fo:block>
    </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
    <fo:table-cell text-align="start" display-align="before">
    <fo:block white-space-collapse="true"  text-align="start" color="#000000" font-family="Times New Roman" font-size="11.0pt">
    <xsl:value-of disable-output-escaping="no" select="intituleSelection"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </xsl:template>
    </xsl:stylesheet>
    voici qqes erreurs avc

    [Error] journalCotisations.xsl:233:62: Element type "xsl:value-of" must be decla red.
    [Error] journalCotisations.xsl:236:149: Element type "fo:table-cell" must be dec lared.
    [Error] journalCotisations.xsl:237:141: Element type "fo:block" must be declared .
    [Error] journalCotisations.xsl:238:63: Element type "xsl:value-of" must be decla red.
    [Error] journalCotisations.xsl:241:149: Element type "fo:table-cell" must be dec lared.
    [Error] journalCotisations.xsl:242:141: Element type "fo:block" must be declared .
    [Error] journalCotisations.xsl:243:63: Element type "xsl:value-of" must be decla red.
    [Error] journalCotisations.xsl:252:30: Element type "xsl:template" must be decla red.
    [Error] journalCotisations.xsl:255:32: Element type "fo:table" must be declared.
    [Error] journalCotisations.xsl:256:40: Element type "fo:table-column" must be de clared.
    je ne comprend pas ces pb de déclarations
    moi je suis dépassé bon courage et merci de votre patience

  10. #10
    Membre éclairé
    Inscrit en
    Octobre 2005
    Messages
    847
    Détails du profil
    Informations forums :
    Inscription : Octobre 2005
    Messages : 847
    Points : 841
    Points
    841
    Par défaut
    les erreures sont dues à ta partie DOCTYPE. enleve là (je sais que tu l'utilise, mais c juste pour te rendre compte que c'est bien ça)
    Ce n’est pas en cassant le thermomètre que vous ferez baisser la température

  11. #11
    Candidat au Club
    Inscrit en
    Juillet 2006
    Messages
    11
    Détails du profil
    Informations forums :
    Inscription : Juillet 2006
    Messages : 11
    Points : 3
    Points
    3
    Par défaut
    gd merci à toi valal, aprés quelques modifs de mon xsl-fo je réussis enfin à générer un fichier pdf à partir d'un fichier xml et d'un fichier xsl-fo sur fop 0.92beta. merci bcp mec

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [XSL~FO][FOP] Créer une ancre
    Par caro. dans le forum XSL/XSLT/XPATH
    Réponses: 3
    Dernier message: 17/04/2007, 14h16
  2. Problème de XSL sous FOp
    Par Rei Angelus dans le forum XSL/XSLT/XPATH
    Réponses: 9
    Dernier message: 13/04/2006, 16h47
  3. [XSL-FO] [FOP] Support de certains caractères polonais
    Par Shadow aok dans le forum XSL/XSLT/XPATH
    Réponses: 4
    Dernier message: 09/03/2006, 09h33
  4. [xsl][xslfo][fop]pas plus de 512 caractères
    Par Invité dans le forum XSL/XSLT/XPATH
    Réponses: 3
    Dernier message: 27/01/2006, 17h02
  5. [XSL-FO] [Débutant] xml, xsl, fo fop pdf ...ahhh !
    Par enigma dans le forum XSL/XSLT/XPATH
    Réponses: 2
    Dernier message: 05/08/2005, 09h14

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo