cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Annik Schoenmann" <>
Subject problem with the xslt transformation
Date Wed, 13 Dec 2000 16:23:09 GMT
I have a problem with the xslt transformation of Cocoon (I use jetspeed)
I try to generate a name for my different paragraph texte1, texte2, text3...
Actually the result is texteNaN?

my XML:
<LigneParagraphe id="1">
        <PetitParagraphe id="1">
           <text>text of titre1</text>
        <PetitParagraphe id="2">
           <text>text of titre1</text>

my XSL:
<textarea name="titre{(((../@id)*2)+1)}" cols="30" rows="2">Insérer votre
         <xsl:apply-templates select="PetitParagraphe[@id=1]/titre"/>

the result name:

View raw message