xsl-list
[Top] [All Lists]

[xsl] Center string

2009-06-11 07:42:33
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 :
----------------
¨mathématiques niveau lycée: série
                   '1
----------------- is incorrect

           ¨mathématiques
          niveau lycée: série
                   '1
----------------- is incorrect

 ¨mathématiques niveau
       lycée: série '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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>