[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: set encoding attribute
> From: Ursprung Manfred [mailto:Manfred.Ursprung@b...] > Sent: Friday, October 05, 2001 10:09 AM > To: xml-dev (E-Mail) > Subject: set encoding attribute > > > Hi all, > > I used Xalan and msxml3 parser for converting Xml-file with > Xslt-stylesheet. > 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 > transformation > the first declaration like: > <?xml version="1" encoding="ISO-8859-1" ?> That would be wrong anyway (wrong XML version number). > Help appreciated. Use <xsl:output encoding="iso-8859-1" /> (but keep in mind that XSLT engines don't need to support this encoding).
|
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
|