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

Whitespace between character entities deleted

Subject: Whitespace between character entities deleted
From: "Ingo Mittendorf" <Ingo.Mittendorf@xxxxxxxxxxxxxxx>
Date: Sat, 10 Nov 2001 13:01:58 -0000
xsl preserve space between words
I've got the following problem and can't find a solution for it. Perhaps
someone has encountered the same problem and could tell me what to do:

After the XSL transformation spaces between character entities in the XML
file are gone in the HTML output (both in the display and the source text).
So, for instance, French

    envoy&eacute; &agrave;    ["sent to"]

ends up as one word.


Further background info:

The replacement strings for the entities are in hexadecimal code.

Display of the character entities themselves in the HTML is correct.
However, the source text contains varieties of capital A with tilde plus
something else.

I am using XMLSpy with the MSXML processor.

Browser is IE 6.

OS is Windows 98.

I've played around with different encodings in all files involved (XML, XSL
[both in the XML declaration and the encoding attrbute], Browser), and it
didn't make the slightest difference.

xsl:preserve-space has no effect whatsoever either (but then for some reason
it never has had any on anything).

Inserting &nbsp; between the character entities helps, ie

    envoy&eacute;&nbsp;&agrave;

gives the correct result (two words with a space between them in both
display and source).

I would be grateful for advice.

Ingo Mittendorf


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.