transforming XML to HTML using ISO-8859-1 encoding

wxdqz

New Member
Gidday,I have an XML document that I wish to transform to HTML throught DOM usingan XSL document. I can produce the HTML no problem (style, layout, etc).However, the META tag that is produced in the HTML is,<META http-equiv="Content-Type" content="text/html; charset=UTF-16"> but Iwould like it to be<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> sothat European characters are handled correctly.My XSL document begins as follows,<?xml version="1.0" encoding="ISO-8859-1" ?><xsl:stylesheet version="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:fo="http://www.w3.org/1999/XSL/Format"><xsl:output method="html" encoding="ISO-8859-1"/>AND my XML,<?xml version="1.0" encoding="ISO-8859-1"?><?xml:stylesheet type="text/xsl"?>I would appreciate any help with this.Cheers,Dan.
 
Back
Top