This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
How concatenate the contents of similar elements comma separated
- From: Roberto Arévalo <roberto dot arevalo at ste dot es>
- To: "xsl" <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 30 Aug 2002 11:16:59 +0200
- Subject: [xsl] How concatenate the contents of similar elements comma separated
- Reply-to: xsl-list at lists dot mulberrytech dot com
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.arevalo@ste.es
_________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list