[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] group together subsequent elements?


Subject: [xsl] group together subsequent elements?
From: Matěj Cepl <mcepl@xxxxxxxxxx>
Date: Sat, 17 Mar 2012 12:04:46 +0100

Hi,

I am probably missing something very obvious, but I have not found a way how to combine group of same elements into one. Meaning, I have on input

n.: <spoj>mC!m</spoj> <spoj>zalC-benC-</spoj>

and I would like to get on output

n.: <linked>mC!m zalC-benC-</linked>

(number of elements in one group can vary).

Do I miss something completely trivial or it is one of those things which XSLT cannot do?

Thanks in advance for any response,

MatDj


Current Thread
Keywords