Re: Prob with encoding
Well, if i put a xsl:output encoding="ISO-8859-1" it appears as <Titulo>Caracterizao?=o?=o</Titulo> and in some places the ?? apears as two little boxes, or squares. I'm using Cladonia ExchangerXML, so i don't know who's doing the serialization, but from the messages that appears i'll say it's Saxon allright. Thanks. On 4/27/05, David Carlisle <davidc@xxxxxxxxx> wrote: > > > If i put a xsl:output encoding="ISO-8859-1" then the output appears > with a ISO-8859-1 declaration but the chars are all wrong. > > That doesn't give us much information. > posting what output you get from an input of <x>CaracterizaC'C#o"</x> > might give people a clue. > > A system is allowed to ignore the encoding hint of xsl:output and do its > own thing. Saxon desn't do this though so long as saxon is actually > doing the serialisation. If you are using a java API to pass some > in-memory output to some other process and it is that process that is > writing the final file then it is quite likely that the encoing hint on > xsl:output will be ignored. > > David > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by Star. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________
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