Re: [xsl] Multiple Character Encodings in XSLT/XML

Subject: Re: [xsl] Multiple Character Encodings in XSLT/XML
From: Michael Ludwig <milu71@xxxxxx>
Date: Sun, 30 Nov 2008 18:45:41 +0100
Ramkumar Menon schrieb am 29.11.2008 um 23:02:50 (-0800):
> Is is possible to have an XSLT, or for that matter any XML document
> which can have more than one character encoding?

I don't think this is desirable, or possible.

> i.e. an XSL Stylesheet whose portions are encoded using UTF-8 and a
> few other portions encoded using UTF-16 or UTF-32.

You can split of your XSL stylesheet in several "stylesheet modules"
(files), each of which can have its own encoding.

> If this is not supported, why not? - Any theoretical reason?

Mixing encodings means binary, I'd say.

Michael Ludwig

Current Thread