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

RE:   as HTML source output from XSLT - non break

Subject: RE:   as HTML source output from XSLT - non breaking space to HTML
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Fri, 8 Apr 2005 08:16:24 +0300
html non break
Hi,

> Adam Knight proposed this question 2 months ago, (thread titled Using
> &nbsp; in XSL HTML Output)
>
> Please excuse me, I did not understand the answers, and, if
> any are used
> in code, they do not achieve the desired affect.

The bottom line, methinks, is that you should want to output a nbsp entity,
but rather the Unicode NO-BREAK SPACE character (as nbsp entity is just one
way of expressing that). Thus write the NO-BREAK SPACE character into your
stylesheet, or use a character reference &#160; or &#xA0;. The just let the
serializer of you XSLT engine to handle the rest. If you're not happy with
what the serializer generates (if it chooses not to generate a nbsp entity
when using html output method), then try to configure the serializer to
generate it, post-process the results, or write your own serializer.

Cheers,

Jarno - Informatik: The World Belongs to Us
<http://www.metropolis-records.com/artists/audio/315-01.mp3>

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.