Re: [xsl] Grouping of text input file lines

Subject: Re: [xsl] Grouping of text input file lines
From: Michael Müller-Hillebrand <mmh@xxxxxxxxx>
Date: Sun, 11 Aug 2013 17:13:59 +0200
Wolfgang,

In a similar situation just recently I proceeded like this:

* split the text into <line> elements of a variable, maintaining the "level"
as an attribute and cleaning the content as required
* use for-each-group with group-starting-with to, well, group the lines
accordingly

It worked quite nice, so to me it seems you are on the right track.

- Michael

Current Thread