Subject: Re: encoding problem
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Thu, 31 May 2001 10:46:32 +0100
|
Hi Joern,
> I have a problem concerning the encoding of the involved documents.
When you include something as an entity, the XML parser uses the
encoding that you declare *for the entity*, not the encoding that you
declare for the including file.
So you need to make sure that you have a text declaration that
includes the relevant encoding attribute on 'result.xml' - otherwise
it will assume UTF-8, which is where you're getting the error. If you
add:
<?xml version="1.0" encoding="ISO-8859-1"?>
to the top of 'result.xml' it should work fine, I think.
I hope that helps,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Jeni Tennison - Thu, 31 May 2001 05:57:20 -0400 (EDT) <=
|
|