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 :

mise en page xsl


Sujet :

XSL/XSLT/XPATH XML

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Février 2009
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 11
    Points : 5
    Points
    5
    Par défaut mise en page xsl
    Bonjour,
    je rencontre un petit soucis de mise en page d'un éléments venant d'un fichier XML.
    Le résultat est que toutes les options ne sont pas séparé, je souhaite indiqué dans mon traitement XSL un retour a la ligne après chaque séparation
    |.
    le fichier XML est renvoyer par tache automatique tout les jours donc je ne peu pas séparer ces informations dans le fichier ce qui aurait été une solution plus simple.

    Merci d'avance pour vos réponses.

    Voici un des élément du fichier XML qui me pose un soucis:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <Equipements>Climatisation mécanique|Peinture métallisée|Banquette arrière séparée|Fermeture centralisée|Radio CD|Anti-blocage des roues|Direction assistée</Equipements>
    Traitement par ma feuille XSL:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <xsl:value-of select="Equipements"/>
    résultat visuel dans ma page Php:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Anti-blocage des roues|Peinture métallisée|Fermeture centralisée|Ordinateur de bord|Rétro électriques|Phares antibrouillard|Radio CD MP3|Direction assistée|Jantes Aluminium|Anti-patinage|Coussins gonflables (4 et plus)|Climatisation automatique|Régulateur de vitesse|ESP

  2. #2
    Membre actif
    Profil pro
    Inscrit en
    Février 2009
    Messages
    155
    Détails du profil
    Informations personnelles :
    Localisation : France, Indre et Loire (Centre)

    Informations forums :
    Inscription : Février 2009
    Messages : 155
    Points : 231
    Points
    231
    Par défaut
    Bonjour,

    Si j'ai bien compris tu veux remplacer | par un <br/>
    Il faut utiliser une fonction comme celle-ci :

    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
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    	<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
     
    	<xsl:template name="string-replace-all">
    		<xsl:param name="text"/>
    		<xsl:param name="replace"/>
    		<xsl:param name="by"/>
    		<xsl:choose>
    			<xsl:when test="contains($text, $replace)">
    				<xsl:value-of select="substring-before($text, $replace)"/>
    				<xsl:value-of select="$by"/>
    				<xsl:call-template name="string-replace-all">
    					<xsl:with-param name="text" select="substring-after($text, $replace)"/>
    					<xsl:with-param name="replace" select="$replace"/>
    					<xsl:with-param name="by" select="$by"/>
    				</xsl:call-template>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:value-of select="$text"/>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>
     
     
    	<xsl:variable name="myVar">
    		<xsl:call-template name="string-replace-all">
    			<xsl:with-param name="text" select="."/>
    			<xsl:with-param name="replace" select=" '|' "/>
    			<xsl:with-param name="by" select=" '&lt;br/&gt;' "/>
    		</xsl:call-template>
    	</xsl:variable>
     
    	<xsl:template match="Equipements">
    		<xsl:value-of select="$myVar" disable-output-escaping="yes"/>	
    	</xsl:template>
     
     
    </xsl:stylesheet>

  3. #3
    Futur Membre du Club
    Profil pro
    Inscrit en
    Février 2009
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 11
    Points : 5
    Points
    5
    Par défaut
    Superbe mais comme un boulet que je suis je l'intègre comment dans ma feuille?

    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
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    <?xml version="1.0" encoding="utf-8"?>
    <!-- DWXMLSource="../stockvo.xml" -->
    <!DOCTYPE xsl:stylesheet  [
    	<!ENTITY nbsp   "*">
    	<!ENTITY copy   "©">
    	<!ENTITY reg    "®">
    	<!ENTITY trade  "™">
    	<!ENTITY mdash  "—">
    	<!ENTITY ldquo  "“">
    	<!ENTITY rdquo  "”"> 
    	<!ENTITY pound  "£">
    	<!ENTITY yen    "¥">
    ]>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="html" encoding="utf-8" indent="yes"/>
      <xsl:param name="cur_tri"/>
      <xsl:param name="cur_modele"/>
      <xsl:param name="cur_marque"/>
      <xsl:decimal-format name="european" decimal-separator=',' grouping-separator='.' />
      <xsl:template match="/">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <title>les occasionw seat</title>
     
     </head>
     <body>
        <xsl:choose>
          <xsl:when test="$cur_marque != ''">
                <xsl:choose>
                  <xsl:when test="$cur_modele != ''">
                     <xsl:choose>
                        <xsl:when test="$cur_tri != ''">
                         <xsl:for-each select="Stock/Vehicule">
                          <xsl:sort select="PvTTC" data-type="number" order="{$cur_tri}"/>
                           <xsl:sort select="Marque" data-type="text"/>
                            <xsl:if test="Marque = $cur_marque">
    	                  	 <xsl:if test="Famille = $cur_modele">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
                                <td><xsl:value-of select="Equipements"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                              </xsl:if>
                            </xsl:if>
                         </xsl:for-each>
                        </xsl:when>
     
    					<xsl:otherwise>
    							<xsl:for-each select="Stock/Vehicule">
    							<xsl:sort select="Marque" data-type="text"/>
                            	<xsl:if test="Marque = $cur_marque">
                              	<xsl:if test="Famille = $cur_modele">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3">
    	                        <xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr></table>
                                <table width="620px" border="0" class="stockvo">
                                <tr class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
                                <td><xsl:value-of select="Equipements"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                              </xsl:if>
                            </xsl:if>
                          </xsl:for-each>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
     
                  <xsl:otherwise>
                   <xsl:choose>
                    <xsl:when test="$cur_tri != ''">
                     <xsl:for-each select="Stock/Vehicule">
                      <xsl:sort select="PvTTC" data-type="number" order="{$cur_tri}"/>
                       <xsl:sort select="Marque" data-type="text"/>
                        <xsl:if test="Marque = $cur_marque">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
                                <td><xsl:value-of select="Equipements"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
    							</xsl:if>
    						</xsl:for-each>
    					</xsl:when>
     
               	<xsl:otherwise>
    				<xsl:for-each select="Stock/Vehicule">
    					<xsl:sort select="Marque" data-type="text"/>
    	                    <xsl:if test="Marque = $cur_marque">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
                                <td><xsl:value-of select="Equipements"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                         </xsl:if>
                      </xsl:for-each>
                     </xsl:otherwise>
                   </xsl:choose>
                  </xsl:otherwise>
              </xsl:choose>
          </xsl:when>
     
          <xsl:otherwise>
            <xsl:choose>
              <xsl:when test="$cur_tri != ''">
                <xsl:for-each select="Stock/Vehicule">
                  <xsl:sort select="PvTTC" data-type="number" order="{$cur_tri}"/>
                   <xsl:sort select="Marque" data-type="text"/>
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
                                <td><xsl:value-of select="Equipements"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
    							</xsl:for-each>
    						</xsl:when>
     
    					<xsl:otherwise>
    			          <xsl:for-each select="Stock/Vehicule">
    			            <xsl:sort select="Marque" data-type="text"/>
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
                                <td><xsl:value-of select="Equipements"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                </xsl:for-each>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:otherwise>
        </xsl:choose>
       </body>
      </html>
     </xsl:template>
    </xsl:stylesheet>

  4. #4
    Membre actif
    Profil pro
    Inscrit en
    Février 2009
    Messages
    155
    Détails du profil
    Informations personnelles :
    Localisation : France, Indre et Loire (Centre)

    Informations forums :
    Inscription : Février 2009
    Messages : 155
    Points : 231
    Points
    231
    Par défaut
    Tu aurais un fichier XML ?

  5. #5
    Futur Membre du Club
    Profil pro
    Inscrit en
    Février 2009
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 11
    Points : 5
    Points
    5
    Par défaut
    oui bien sur.
    ce fichier est renvoyer tout les jours en tache auto.

    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
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <Stock>
     <Vehicule>
      <Initiale>cath</Initiale>
      <Nom>xxxxxx-xxxxxx</Nom>
      <Societe_marque>xxx</Societe_marque>
      <Adresse>xxx xx xxx</Adresse>
      <AdresseSuite>xx xxxx</AdresseSuite>
      <Cpostal>xxxxx</Cpostal>
      <Ville>xxxxxx xxxxx</Ville>
      <Telephone>xx.xx.xx.xx.xx</Telephone>
      <Telephone2>xx.xx.xx.xx.xx</Telephone2>
      <Email>xxxxxxxx@xxxxx.com</Email>
      <Contact>xxxxxx</Contact>
      <Numpoli>10903101</Numpoli>
      <Statut>ST</Statut>
      <Millesime>2008</Millesime>
      <Date1Mec>2008-07-01</Date1Mec>
      <Genre>VP</Genre>
      <Marque>SEAT</Marque>
      <Famille>Ibiza</Famille>
      <Version>1.9 TDI105 FAP Reference 5p</Version>
      <Modele>Ibiza 1.9 TDI105 FAP Reference 5p</Modele>
      <Type>MSE5342G8402</Type>
      <Energie>Diesel</Energie>
      <Puissance>5</Puissance>
      <PuissanceReelle>105</PuissanceReelle>
      <Cylindree>1896</Cylindree>
      <NbPlaces>5</NbPlaces>
      <NbPortes>5</NbPortes>
      <Km>25500</Km>
      <KmGaranti>Non garanti</KmGaranti>
      <Couleur>ROUGE RUBIS</Couleur>
      <Boite>Manuelle</Boite>
      <NbRapports>5</NbRapports>
      <PvTTC>12550</PvTTC>
      <PremiereMain>FAUX</PremiereMain>
      <Garantie>Constructeur</Garantie>
      <Catégorie>Petite voiture/Citadine</Catégorie>
      <Equipements>Climatisation mécanique|Peinture métallisée|Banquette arrière séparée|Fermeture centralisée|Radio CD|Anti-blocage des roues|Direction assistée</Equipements>
      <Site>VN/VO xxxx (xxxxx</Site>
      <Lieu>HALL VO xxxx (xxx</Lieu>
      <Photos>cath_10903101_01_cp.jpg|cath_10903101_01_vg.jpg|cath_10903101_02_cp.jpg|cath_10903101_02_vg.jpg|cath_10903101_03_cp.jpg|cath_10903101_03_vg.jpg</Photos>
     </Vehicule>
    </Stock>

  6. #6
    Membre actif
    Profil pro
    Inscrit en
    Février 2009
    Messages
    155
    Détails du profil
    Informations personnelles :
    Localisation : France, Indre et Loire (Centre)

    Informations forums :
    Inscription : Février 2009
    Messages : 155
    Points : 231
    Points
    231
    Par défaut
    Il faut utiliser une variable locale afin que le bon contexte soit traité quand il y a plusieurs véhicules. J'ai commenté l'ancien code et appelé la fonction de remplacement juste à côté :
    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
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    <?xml version="1.0" encoding="utf-8"?>
    <!-- DWXMLSource="../stockvo.xml" -->
    <!DOCTYPE xsl:stylesheet  [
    	<!ENTITY nbsp   "*">
    	<!ENTITY copy   "©">
    	<!ENTITY reg    "®">
    	<!ENTITY trade  "™">
    	<!ENTITY mdash  "—">
    	<!ENTITY ldquo  "“">
    	<!ENTITY rdquo  "”"> 
    	<!ENTITY pound  "£">
    	<!ENTITY yen    "¥">
    ]>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="html" encoding="utf-8" indent="yes"/>
      <xsl:param name="cur_tri"/>
      <xsl:param name="cur_modele"/>
      <xsl:param name="cur_marque"/>
      <xsl:decimal-format name="european" decimal-separator=',' grouping-separator='.' />
     
    	<xsl:template name="string-replace-all">
    		<xsl:param name="text"/>
    		<xsl:param name="replace"/>
    		<xsl:param name="by"/>
    		<xsl:choose>
    			<xsl:when test="contains($text, $replace)">
    				<xsl:value-of select="substring-before($text, $replace)"/>
    				<xsl:value-of select="$by"/>
    				<xsl:call-template name="string-replace-all">
    					<xsl:with-param name="text" select="substring-after($text, $replace)"/>
    					<xsl:with-param name="replace" select="$replace"/>
    					<xsl:with-param name="by" select="$by"/>
    				</xsl:call-template>
    			</xsl:when>
    			<xsl:otherwise>
    				<xsl:value-of select="$text"/>
    			</xsl:otherwise>
    		</xsl:choose>
    	</xsl:template>
     
      <xsl:template match="/">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <title>les occasionw seat</title>
     
     </head>
     <body>
        <xsl:choose>
          <xsl:when test="$cur_marque != ''">
                <xsl:choose>
                  <xsl:when test="$cur_modele != ''">
                     <xsl:choose>
                        <xsl:when test="$cur_tri != ''">
                         <xsl:for-each select="Stock/Vehicule">
                          <xsl:sort select="PvTTC" data-type="number" order="{$cur_tri}"/>
                           <xsl:sort select="Marque" data-type="text"/>
                            <xsl:if test="Marque = $cur_marque">
    	                  	 <xsl:if test="Famille = $cur_modele">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
     
                                	<xsl:variable name="myVar">
                                		<xsl:call-template name="string-replace-all">
                                			<xsl:with-param name="text" select="Equipements"/>
                                			<xsl:with-param name="replace" select=" '|' "/>
                                			<xsl:with-param name="by" select=" '&lt;br/&gt;' "/>
                                		</xsl:call-template>
                                	</xsl:variable>
     
                                	<td><!-- <xsl:value-of select="Equipements"/> --><xsl:value-of select="$myVar" disable-output-escaping="yes"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                              </xsl:if>
                            </xsl:if>
                         </xsl:for-each>
                        </xsl:when>
     
    					<xsl:otherwise>
    							<xsl:for-each select="Stock/Vehicule">
    							<xsl:sort select="Marque" data-type="text"/>
                            	<xsl:if test="Marque = $cur_marque">
                              	<xsl:if test="Famille = $cur_modele">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3">
    	                        <xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr></table>
                                <table width="620px" border="0" class="stockvo">
                                <tr class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
     
                                	<xsl:variable name="myVar">
                                		<xsl:call-template name="string-replace-all">
                                			<xsl:with-param name="text" select="Equipements"/>
                                			<xsl:with-param name="replace" select=" '|' "/>
                                			<xsl:with-param name="by" select=" '&lt;br/&gt;' "/>
                                		</xsl:call-template>
                                	</xsl:variable>
     
                                	<td><!--xsl:value-of select="Equipements"/--><xsl:value-of select="$myVar" disable-output-escaping="yes"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                              </xsl:if>
                            </xsl:if>
                          </xsl:for-each>
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:when>
     
                  <xsl:otherwise>
                   <xsl:choose>
                    <xsl:when test="$cur_tri != ''">
                     <xsl:for-each select="Stock/Vehicule">
                      <xsl:sort select="PvTTC" data-type="number" order="{$cur_tri}"/>
                       <xsl:sort select="Marque" data-type="text"/>
                        <xsl:if test="Marque = $cur_marque">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
     
                                	<xsl:variable name="myVar">
                                		<xsl:call-template name="string-replace-all">
                                			<xsl:with-param name="text" select="Equipements"/>
                                			<xsl:with-param name="replace" select=" '|' "/>
                                			<xsl:with-param name="by" select=" '&lt;br/&gt;' "/>
                                		</xsl:call-template>
                                	</xsl:variable>
     
                                	<td><!--xsl:value-of select="Equipements"/--><xsl:value-of select="$myVar" disable-output-escaping="yes"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
    							</xsl:if>
    						</xsl:for-each>
    					</xsl:when>
     
               	<xsl:otherwise>
    				<xsl:for-each select="Stock/Vehicule">
    					<xsl:sort select="Marque" data-type="text"/>
    	                    <xsl:if test="Marque = $cur_marque">
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
     
                                	<xsl:variable name="myVar">
                                		<xsl:call-template name="string-replace-all">
                                			<xsl:with-param name="text" select="Equipements"/>
                                			<xsl:with-param name="replace" select=" '|' "/>
                                			<xsl:with-param name="by" select=" '&lt;br/&gt;' "/>
                                		</xsl:call-template>
                                	</xsl:variable>
     
                                	<td><!--xsl:value-of select="Equipements"/--><xsl:value-of select="$myVar" disable-output-escaping="yes"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                         </xsl:if>
                      </xsl:for-each>
                     </xsl:otherwise>
                   </xsl:choose>
                  </xsl:otherwise>
              </xsl:choose>
          </xsl:when>
     
          <xsl:otherwise>
            <xsl:choose>
              <xsl:when test="$cur_tri != ''">
                <xsl:for-each select="Stock/Vehicule">
                  <xsl:sort select="PvTTC" data-type="number" order="{$cur_tri}"/>
                   <xsl:sort select="Marque" data-type="text"/>
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
     
                                	<xsl:variable name="myVar">
                                		<xsl:call-template name="string-replace-all">
                                			<xsl:with-param name="text" select="Equipements"/>
                                			<xsl:with-param name="replace" select=" '|' "/>
                                			<xsl:with-param name="by" select=" '&lt;br/&gt;' "/>
                                		</xsl:call-template>
                                	</xsl:variable>
     
                                	<td><!--xsl:value-of select="Equipements"/--><xsl:value-of select="$myVar" disable-output-escaping="yes"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
    							</xsl:for-each>
    						</xsl:when>
     
    					<xsl:otherwise>
    			          <xsl:for-each select="Stock/Vehicule">
    			            <xsl:sort select="Marque" data-type="text"/>
                               	<table width="620px" border="0" class="bbody">
                                <tr>
                                <th width="132" scope="row"><strong class="Style5"><xsl:value-of select="Marque"/></strong></th>
                                <td colspan="2"><span class="Style5"><xsl:value-of select="Modele"/></span></td>
                                <td width="53">&nbsp; </td>
                                <td width="114"><span class="Style3"><xsl:value-of select="format-number(PvTTC, '##.###', 'european')"/>*€</span></td>
                                </tr>
                                </table>
                                <table width="620px" border="0" class="stockvo">
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                <tr>
                                <th width="149" scope="row"><div align="left">Kilométrage:</div></th>
                                <td width="207"><xsl:value-of select="Km"/>*Km</td>
                                <td colspan="3" rowspan="7">
    <a href="img/{Initiale}_{Numpoli}_01_cp.jpg" rel="lightbox[images]" title="seat occasion"><img src="img/{Initiale}_{Numpoli}_01_cp.jpg" alt="seat occasion" width="200" height="150" align="top"/></a>
    <a href="img/{Initiale}_{Numpoli}_02_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
    <a href="img/{Initiale}_{Numpoli}_03_cp.jpg" rel="lightbox[images]"  title="seat occasion"></a>
                                </td></tr>
                                <tr>
                                <th scope="row"><div align="left">Couleur ext:*</div></th>
                                <td><xsl:value-of select="Couleur"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Energie:</div></th>
                                <td><xsl:value-of select="Energie"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Mise en circulation:</div></th>
                                <td>
                                <xsl:variable name="date_norm" select="Date1Mec" />
                                <xsl:variable name="an" select="substring($date_norm, 1, 4)" />
                                <xsl:variable name="mois" select="substring($date_norm, 6, 2)" />
                                <xsl:variable name="jour" select="substring($date_norm, 9, 2)" />
                                <xsl:variable name="heure" select="substring($date_norm, 12, 2)" />
                                <xsl:variable name="minutes" select="substring($date_norm, 15, 2)" />
                                <xsl:variable name="date_complete" select="concat($jour, '-', $mois, '-', $an)" />
                                <xsl:value-of select="$date_complete" />
                                </td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Nombre de Portes:</div></th>
                                <td><xsl:value-of select="NbPortes"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Puissance fiscale:</div></th>
                                <td><xsl:value-of select="Puissance"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Boîte de vitesse:</div></th>
                                <td><xsl:value-of select="Boite"/></td>
                                </tr>
                                <tr>
                                <th scope="row"><div align="left">Garantie:</div></th>
                                <td><xsl:value-of select="Garantie"/></td>
                                <td colspan="3"><div align="center">Cliquez sur l'images pour plus de photos</div></td>
                                </tr>
                                <tr>
                                <th valign="top" scope="row"><div align="left">Options:</div></th>
     
                                	<xsl:variable name="myVar">
                                		<xsl:call-template name="string-replace-all">
                                			<xsl:with-param name="text" select="Equipements"/>
                                			<xsl:with-param name="replace" select=" '|' "/>
                                			<xsl:with-param name="by" select=" '&lt;br/&gt;' "/>
                                		</xsl:call-template>
                                	</xsl:variable>
     
                                	<td><!--xsl:value-of select="Equipements"/--><xsl:value-of select="$myVar" disable-output-escaping="yes"/></td>
                                <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                <th scope="row"><a href="../voiture-occasion.php">plus de detail</a></th>
                                <td>&nbsp;</td>
                                <td></td>
                                <td></td>
                                <td></td>
                                </tr>
                                <tr bgcolor="#FFFFFF" class="style1">
                                <th colspan="5" scope="row">&nbsp;</th>
                                </tr>
                                </table>
                </xsl:for-each>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:otherwise>
        </xsl:choose>
       </body>
      </html>
     </xsl:template>
    </xsl:stylesheet>

  7. #7
    Futur Membre du Club
    Profil pro
    Inscrit en
    Février 2009
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 11
    Points : 5
    Points
    5
    Par défaut
    Aucune erreur sur la fonction mais cela ne fonctionne pas sur mon ftp de test.

  8. #8
    Futur Membre du Club
    Profil pro
    Inscrit en
    Février 2009
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 11
    Points : 5
    Points
    5
    Par défaut
    la nuit porte conseil.

    si je transfert le bon fichier il y a du mieux en effet.(sans commentaire)

    Par contre un chose la liste ne s'affiche plus directement.il faut choisir une option de tris pour avoir un affichage de la liste véhicules.

    et quelque minutes plus tard...

    Trouvé: cela fonctionne superbement
    Un grand merci

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

Discussions similaires

  1. [XSL-FO] Porblème de mise en page
    Par citizen87 dans le forum XSL/XSLT/XPATH
    Réponses: 2
    Dernier message: 23/05/2007, 13h18
  2. [xsl-fo]Problème Mise en page tableau dynamique
    Par Little_flower dans le forum XSL/XSLT/XPATH
    Réponses: 1
    Dernier message: 21/05/2007, 14h01
  3. Pb de mise en page XML/XSL
    Par andlio dans le forum XSL/XSLT/XPATH
    Réponses: 4
    Dernier message: 15/05/2007, 10h58
  4. XSL FO/quelque probleme pour la mise en page.
    Par atoila dans le forum XSL/XSLT/XPATH
    Réponses: 10
    Dernier message: 08/06/2006, 11h06
  5. mise en page (Header and Footer) en XML-XSL.
    Par christine dans le forum XSL/XSLT/XPATH
    Réponses: 4
    Dernier message: 01/03/2004, 16h31

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