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

Re: Creating a whitespace for web page

Subject: Re: Creating a whitespace for web page
From: Josh Canfield <joshcanfield@xxxxxxxxx>
Date: Wed, 18 Aug 2004 11:04:15 -0700
creating white space in html
Most likely you are seeing garbage characters because your stylesheet
is outputting the characters in UTF-8 and your client is reading them
in some other encoding.

You can either change your output encoding using xsl:output, or make
sure that a proper META element is being generated in your output with
your encoding (your processor should do this if you are using
<xsl:output method="html"/>

Josh

On Wed, 18 Aug 2004 13:08:44 -0400, michael.s.eberhart@xxxxxxxxxxx
<michael.s.eberhart@xxxxxxxxxxx> wrote:
> 
> 
> I would like to my xslt code to create a whitespace for display on the web
> page.  I am using the following code:
> 
> <td>&#160;</td>
> 
> and
> 
> <td>&#xa0;</td>
> 
> Both ways have failed, creating garbage characters instead of spaces.

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.