This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: encoding problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]