xsl-list
[Top] [All Lists]

Re: [xsl] Grouping of text input file lines

2013-08-11 10:14:20
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

--~------------------------------------------------------------------
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>
--~--


<Prev in Thread] Current Thread [Next in Thread>