Subject: Re: [xsl] Join elements by name, with spaces in between From: Yves Forkl <Y.Forkl@xxxxxx> Date: Mon, 12 Feb 2007 16:54:50 +0100 |
Try group-adjacent using a grouping key of
group-adjacent="if (. instance of element()) then name(.) else name(following-sibling::*[1])"
This groups text nodes with the following element, which may not be what you want. If you only want to retain text nodes if they fall between to element nodes that are in the same group, you could try to expand the conditional above.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Join elements by name, wi, Michael Kay | Thread | [xsl] Choosing based on current nod, sthomas2 |
Re: [xsl] Making an FAQ page from X, John Steel | Date | [xsl] Choosing based on current nod, sthomas2 |
Month |