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

Center string

Subject: Center string
From: Frédéric Schwebel <Frederic.Schwebel@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Jun 2009 13:42:03 +0200
 Center string
Hi folks,

Just curious if it has already been done : I need to center a string
with a max line length. The words must be uncut and balanced between
lines.

Example :
----------------
(mathimatiques niveau lycie: sirie
                   '1
----------------- is incorrect

           (mathimatiques
          niveau lycie: sirie
                   '1
----------------- is incorrect

 (mathimatiques niveau
       lycie: sirie '1
----------------- is correct

Centering the lines is not a problem. The most difficult part is to
balance words with line-length. Did somebody already do this with XSL
?
Thanks for any help,
Frederic

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.