[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] set encoding attribute
- From: Julian Reschke <firstname.lastname@example.org>
- To: Ursprung Manfred <Manfred.Ursprung@baeurer.de>,"xml-dev (E-Mail)" <email@example.com>
- Date: Fri, 05 Oct 2001 10:21:09 +0200
> From: Ursprung Manfred [mailto:Manfred.Ursprung@baeurer.de]
> Sent: Friday, October 05, 2001 10:09 AM
> To: xml-dev (E-Mail)
> Subject: [xml-dev] set encoding attribute
> Hi all,
> I used Xalan and msxml3 parser for converting Xml-file with
> Xalan set encoding to UTF-8 and
> Msxml set it to UTF-16.
> But I want to set it to ISO-8859-1.
> Do anyone know how it is possible to set in the output from
> the first declaration like:
> <?xml version="1" encoding="ISO-8859-1" ?>
That would be wrong anyway (wrong XML version number).
> Help appreciated.
<xsl:output encoding="iso-8859-1" />
(but keep in mind that XSLT engines don't need to support this encoding).