[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: regrouping split elements

Subject: Re: regrouping split elements
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Mon, 21 Dec 2009 18:28:58 +0100
Re:  regrouping split elements
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.


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:

        <hi rend="bold">Dibdin</hi>
        <hi rend="bold">, Thomas Jo</hi>
        <hi rend="bold">hn</hi>


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,

-- Gerrit Imsieke Geschdftsf|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.imsieke@xxxxxxxxx, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vvckler

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.