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

  problem

  • From: Anthony Channing <AnthonyC@1...>
  • To: xml-dev@l...
  • Date: Wed, 06 Sep 2000 10:06:57 +0100

nbsp
Hi,

I am currently writing an application for my employer that
makes use of an XML data template and an XSL style
template to output HTML pages for viewing on the web,
which is further formated using CSS stylesheets.

In particular parts of the HTML output I would like to include
the HTML escape character '&nbsp;' for various purposes.
However, if I do this in the XSL style sheet it throws a
wobbly, presumably because &nbsp; is not a recognised
escape sequence.

I have tried using &amp;nbsp; but although this doesn't
generate an error, the '&amp'; doesn't get converted into
a '&', so instead of a blank space, I end up with '&nbsp;'
appearing on the web page, not what I want at all!

I expect most of you here do this all the time, but I can't
find any reference of how to do this in William Pardi's
'XML in Action' and I won't be able to check the
WROX book 'Professional XML' until I get home,
so if anyone could tell me how to do this, or point me
to a web resource with the information I need, I would
be most grateful.

Thanks
Anton
101 Media Ltd
http://www.101ltd.com



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.