[xsl] Re: group together subsequent elements?

Subject: [xsl] Re: group together subsequent elements?
From: Matej Cepl <mcepl@xxxxxxxxxx>
Date: Sat, 17 Mar 2012 15:17:33 +0100
On 17.3.2012 12:14, Graydon wrote:
You're not combining elements, you're putting the text node content of
more than one element in the input into one element in the result tree.

A template match on "spoj/text()" will give you no white space, so you
should iterate using for-each and add the spaces.

Well, the problem I have is that there could be multiple groups of <spoj> elements and each should be separated into one result element.


Current Thread