[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] regrouping split elements


Subject: Re: [xsl] regrouping split elements
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 21 Dec 2009 17:26:55 GMT

> Is the right approach (in XSLT2) instead
> to do something like xsl:for-each-group on the value of hi/@rend
> inside each 'p'?

yes but don't use group-by= for example as that will re-order the
fragments which you don't want. Probably group-adjacent is your
friend.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread