I'm new to XSLT and I'm trying to transform an input xml into an other by concatenating the following element values into attributes. Is there a way I can do this with XSLT?
Input xml:
<requests>
<request>
<name>BLA1</name>
<age>42</age>
</request>
<request>
<name>BLA2</name>
<age>24</age>
</request>
</requests>
Result xml:
<bodyParams>
<param name='name' value='BLA1,BLA2' />
<param name='age' value='42,24' />
</bodyParams>
Thank you for the help in advance!