RE: [xsl] MSXML / NBSP problem and resolution

Subject: RE: [xsl] MSXML / NBSP problem and resolution
From: "Thomas V. Nielsen" <thomas@xxxxxxxxxxxxx>
Date: Thu, 7 Nov 2002 09:43:14 +0100
I'll assume you are transforming into a html page.

If so, instead of using something like <xsl:output method="html"
version="1.0" encoding="UTF-8" indent="yes"/> in your xsl, try using
something like 

<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
omit-xml-declaration="yes"/>
<xsl:template match="*">
	<html>
		<head>
			<title>Title</title>
			<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-type"></meta>
		</head>
		<body>
			<xsl:apply-templates/>
		</body>
	</html>

It isn't nice but it works for me..


<Thomas/>



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


Current Thread