xsl-list
[Top] [All Lists]

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

2009-04-21 05:06:00
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

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