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

Re[2]: Sharing Techniques: White Spaces in HTML pages by XSLT


spaces in html

>> That's what I use, but when my XSLT output goes to other machines,
>> the   characters are not always recognised as spaces. How come?

>  Jonathon:
J> Is your XSLT output supposed to be HTML ? What charset are you
J> using ? Do you really need special (non-breaking) spaces, or will
J> regular whitespace do ?

Output was HTML. The charset would have been whetever MSXML3 put on it
automatically (probably UTF-16). I just needed a series of spaces that
will not be collapsed. Is that not what nbsp is for?


DC> Probably because the user had chosen to override the "automatic"
DC> encoding detection and force the browser to use th ewrong encoding.

Not sure, but I don't think that was the case. I have a vague memory
of me checking the Encoding setting in the browser (IE) and it being
in automatic.

-- 
groovy baby,
 Kevin                            mailto:xmldude@b...

+++++++++++++ Cool music - http://mp3.com/marshan
++ Attitude Rock Webzine - http://burieddreams.com/attitude


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.