|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Simple Word Wrap?
> By injecting a zero-width space (​) 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(.,'(','​('),')',')​')
>
> ... 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?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






