Dear James,
you are right: for-each-group is probably not *the* right, but an
appropriate approach. Maybe you find
http://github.com/gimsieke/oo2teilite-xslt2/blob/master/oo2teilite.xsl
useful. Look for mode="join-segs" around line 1045 in the current version.
Gerrit
James Cummings schrieb:
Hi there,
I'm trying to up-scale some bibliographic output converted with a
docxtotei stylesheet and then tidy it up somewhat. The problem is
that the output seems to randomly break in the middle of words. So
the current output I have is:
<div>
<p>
<hi rend="bold">Dibdin</hi>
<hi rend="bold">, Thomas Jo</hi>
<hi rend="bold">hn</hi>
</p>
...
But to get this first step done, I've started out a number of
different ways before hitting stumbling blocks with
previous/following-sibling. Is the right approach (in XSLT2) instead
to do something like xsl:for-each-group on the value of hi/@rend
inside each 'p'?
Any thoughts appreciated,
-James
--~------------------------------------------------------------------
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>
--~--
--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de, http://www.le-tex.de
Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930
Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler
--~------------------------------------------------------------------
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>
--~--