xsl-list
[Top] [All Lists]

How concatenate the contents of similar elements comma separated

2002-08-30 02:16:59

Code XML:

        <CAM_XXX ocurrencias="1" min="0" max="20">
                <VALOR codigo="A" descripcion="aa a"/>
                <VALOR codigo="B" descripcion="bb b"/>
                <VALOR codigo="C" descripcion="cc c"/>
                <VALOR codigo="D" descripcion="dd d"/>
        </CAM_XXX>


At last, I need a variable XSL :

        <xsl:variable name="cadena" select="aa a,bb b,cc c,dd d"/>


_________________________________
@R.
Roberto Arévalo Álvarez
STE Consulting, S.A.
C/Vidal i Ribas - nº24
08980 -Sant Feliu de LLobregat-
Tlf.: 93.685.74.71
E-mail: roberto(_dot_)arevalo(_at_)ste(_dot_)es
_________________________________



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>