This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Whitespace between character entities deleted

[Get raw message]
This looks to me like an MSXML bug: but try building the DOM with
preserveSpace=true to see if that makes it go away.

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Ingo
> Mittendorf
> Sent: 10 November 2001 13:02
> To: xsl
> Subject: [xsl] Whitespace between character entities deleted
>
>
> 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é à    ["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   between the character entities helps, ie
>
>     envoyé à
>
> 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
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]