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

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

XSL/XSLT/XPATH XML Discussion :

[XSL FO] number-columns-spanned


Sujet :

XSL/XSLT/XPATH XML

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    110
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 110
    Points : 55
    Points
    55
    Par défaut [XSL FO] number-columns-spanned
    Salut, j'essaye de faire un tableau un peu "évolué", mais ça ne marche pas. Voici mon code :
    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
     
    <fo:table>   
    <fo:table-column column-width="3in"/>
    <fo:table-column column-width="4in"/>
    <fo:table-body>
     
    <fo:table-row>
       <fo:table-cell number-columns-spanned="2" padding="0.1cm" border-top-width="0.1pt" border-color="black" border-style="solid" color="rgb(0,0,0)" background-color="rgb(204,204,255)">
       <fo:block padding-bottom="2pt" font-size="12pt">
       <xsl:for-each select="rythme">
       <xsl:value-of select="@name"/>                                   
       </xsl:for-each>
       </fo:block>
       </fo:table-cell>  
       <fo:table-cell number-columns-spanned="2" padding="0.1cm" border-top-width="0.1pt" border-color="black" border-style="solid" color="rgb(0,0,0)" background-color="rgb(204,204,255)">
       <fo:block padding-bottom="2pt" font-size="12pt">
       <xsl:for-each select="util">
       <xsl:value-of select="@name"/>                                   
       </xsl:for-each>
       </fo:block>
       </fo:table-cell>                      
    </fo:table-row>
     
    <fo:table-row>
       <fo:table-cell padding="0.1cm" border-top-width="0.1pt" border-color="black" border-style="solid" color="rgb(0,0,0)">
       <fo:block padding-bottom="2pt" font-size="12pt">
       <xsl:for-each select="moy">
       <xsl:value-of select="@name"/>                                   
       </xsl:for-each>
       </fo:block>
       </fo:table-cell> 
       <fo:table-cell padding="0.1cm" border-top-width="0.1pt" border-color="black" border-style="solid" color="rgb(0,0,0)">
       <fo:block padding-bottom="2pt" font-size="12pt">
       <xsl:for-each select="pic">
       <xsl:value-of select="@name"/>                                   
       </xsl:for-each>
       </fo:block>
       </fo:table-cell>  
       <fo:table-cell padding="0.1cm" border-top-width="0.1pt" border-color="black" border-style="solid" color="rgb(0,0,0)">
       <fo:block padding-bottom="2pt" font-size="12pt">
       <xsl:for-each select="respi">
       <xsl:value-of select="@name"/>                                   
       </xsl:for-each>
       </fo:block>
       </fo:table-cell> 
       <fo:table-cell padding="0.1cm" border-top-width="0.1pt" border-color="black" border-style="solid" color="rgb(0,0,0)">
       <fo:block padding-bottom="2pt" font-size="12pt">
       <xsl:for-each select="veille">
       <xsl:value-of select="@name"/>                                   
       </xsl:for-each>
       </fo:block>
       </fo:table-cell>               
    </fo:table-row>
     
    </fo:table-body>
    </fo:table>
    Deux problème :
    -> Il ne m'affiche pas la partie util
    -> Il plante quand respi et veille sont mis

    Quelqu'un pourrait-il m'aider? Merci d'avance.[/list]

  2. #2
    Membre du Club
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    110
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 110
    Points : 55
    Points
    55
    Par défaut
    Désolée pour le dérangement, j'ai trouvé!
    J'avais pas déclaré assez de colonne, j'en avais déclaré au lieu de 4!
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <fo:table-column column-width="4in"/>

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

Discussions similaires

  1. [xsl-fo] break-before et number-rows-spanned
    Par MrMaze dans le forum XSL/XSLT/XPATH
    Réponses: 4
    Dernier message: 18/03/2010, 13h14
  2. source grid et column span
    Par fraiza dans le forum Windows Forms
    Réponses: 0
    Dernier message: 30/03/2009, 12h47
  3. [XSL] format-number disparition du signe négatif
    Par zozolh2 dans le forum XSL/XSLT/XPATH
    Réponses: 1
    Dernier message: 08/06/2006, 16h09
  4. Problème xsl:number
    Par virgul dans le forum XSL/XSLT/XPATH
    Réponses: 3
    Dernier message: 24/06/2005, 07h18
  5. [XSLT] Xsl:number arrondi
    Par virgul dans le forum XSL/XSLT/XPATH
    Réponses: 5
    Dernier message: 15/06/2005, 10h55

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