Re: [xsl] grouping with xsl:for-each-group

Subject: Re: [xsl] grouping with xsl:for-each-group
From: gregor FELLENZ <gregor@xxxxxxxxxxxx>
Date: Tue, 21 Apr 2009 11:05:28 +0200
hey,

thanks for the very quick answer!!!

David Carlisle schrieb:
i would like to put any group of "einschub" elements in a separate container.

you implemented what you said, that all einschub* elements get grouped. What I think looking at your output is that you want separate groups for each einschub* element type, so you can just use group-adjacent="local-name()" >

almost, but now i get also the <abs> elements grouped:
<einschub typ="">
<abs>content1</abs>
</einschub>
i need only a separate container for the einschub* elements, every other element has to remain in the old structure.
my first thought was sth. like


group-adjacent="einschub1|einschub2|..." > but this was definitely a misunderstanding :-)


gregor


Current Thread