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: Why saxon doesnt allow this?



> Why saxon is not allowing this character?.
Not really saxon, it's the XML parser you are using with Saxon.

what do you mean by `this character' If you mean unicode character xA9
(copyright) then you can always refer to that as © in any encoding.

but if you want to refer to it just using character data you need
to be using an encoding that includes the copyright character
and then use whatever bytes are required in that encoding.

In utf-8 (the default xml encoding) character 169 is encoded as two
bytes  Â© alternatively you could encode your XML file in latin 1
encoding and then copyright is encoded as one byte, ©, but then you need
to start the xml file <?xml version="1.0" encoding="iso-8859-1"?>

David


 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]