Subject: RE: [xsl] Whitespace between character entities deleted From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Sat, 10 Nov 2001 23:51:54 -0000 |
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@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Whitespace between charac, David Carlisle | Thread | [xsl] create several js-functions, Nathalie Pult |
Re: [xsl] PHP integration with XSLT, dfour | Date | [xsl] create several js-functions, Nathalie Pult |
Month |