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

Re: Simple Word Wrap?

Subject: Re: Simple Word Wrap?
From: Luke Jones <ljones@xxxxxxxxxx>
Date: Fri, 28 Sep 2007 14:01:29 -0500
Re:  Simple Word Wrap?
> By injecting a zero-width space (&#x200b;) where you want to allow a 
> line break to happen.  If no line break is needed, there is no visual 
> disturbance.  If a line break is needed, the line breaks at the space.
> 
> For example, you could have the following in XSLT 2.0:
> 
>    replace(replace(.,'(','&#x200b;('),')',')&#x200b;')
> 
> ... which injects a zero-width space before each left parenthesis and 
> after each right-parenthesis.

Is there a nice way to do this replace in XSLT 1.0?

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-2007 All Rights Reserved.