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

Is it possible to get " " in output rather than t

Subject: Is it possible to get " " in output rather than the encoded character?
From: "Steven Reddie" <smr@xxxxxxxxxxxxxx>
Date: Wed, 19 May 2004 14:26:04 +1000
xsltransform nbsp
Hi All,

I'm fairly new to XML and am trying to generate an HTML file from XML/XSL.
I've done a fair bit of searching on this issue, but there are so many other
"&nbsp;" questions that I've been unable to find anything helpful.

If I load the xml file (which references the xsl) from within IE6 the
"&#160;" is displayed as I'd expect (whitespace).  However, when using the
Microsoft .NET XslTransform, outputting to stdout and redirected to a file I
get an ASCII character of value 0xff in the file.  What I'd really like is
to get the unencoded "&nbsp;" in the file so that it looks like typical
HTML.  I've tried "&amp;nbsp" but it comes out unchanged.

If this is possible I'd really appreciate some pointers.

On a similar note, is there some escape mechanism such as "\&nbsp" or
"&&nbsp" (I realise those aren't valid).

Regards,

Steven

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.