xsl-list
[Top] [All Lists]

[xsl] Re: group together subsequent elements?

2012-03-17 09:17:42
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.

Matěj

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--