Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Non-breaking space won't display properly in one instance >Thread Next - Re: Non-breaking space won't display properly in one instance Re: Non-breaking space won't display properly in one instanceTo: NULL Date: 2/6/2008 7:43:00 PM AlBruAn wrote: > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:output method="html" encoding="iso-8859-1"/> So your stylesheet has that output element. Does the resulting HTML document have a meta element <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> then? > In this case, I'm wanting a space between the State variable and the Zip > variable, ala "City, State Zip". It works fine on this machine, but displays > as "City, StateÃ…Zip" on the other machine. Which browser do you use to look at the transformation results? Have you checked the settings of the browser? It could be set to ignore the charset in the document. > The XSL is created by parsing HTML form letter templates created within an > HTML editor control, replacing placeholder tags with <xsl:value-of > select="xyx"> and </xsl:value-of> tags and replacing all occurrences of > with   since the transformation process can't handle . > Just prior to mailing out a batch of these form letters, the DB is queried > for the pertinent information, which is returned in XML format. The data is > then transformed into a series of individual HTML files which are > subsequently read in and converted into PDF format before being sent to a > printer in the mail room for output. All of this is accomplished within a > .NET 2.0 solution. Can you show us the .NET 2.0 code that does the transformation and creates the HTML output? -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
