Re: [xsl] Simple Word Wrap?

Subject: Re: [xsl] Simple Word Wrap?
From: Luke Jones <ljones@xxxxxxxxxx>
Date: Fri, 28 Sep 2007 14:01:29 -0500
> 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