[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Whitespace between character entities deleted
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|