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: output encoding="iso-8859-1"


( I'm using the XALAN-Java version 2.1.0 )

>  -----Original Message-----
> From: 	Daniel Florian  
> Sent:	Saturday, June 02, 2001 12:35 AM
> To:	'xsl-list@lists.mulberrytech.com'
> Subject:	output encoding="iso-8859-1"
> 
> Hi All,
> 
> Another encoding question.  My apologies, but the other threads didn't
> help me.  I am transforming this xml: ( The special characters are an a
> with an accent and then the degree sign )
> 
> <?xml version="1.0" encoding="utf-8"?>
> <?xml-stylesheet type="text/xsl" href="Untitled2.xsl"?>
> <start>
> á °
> </start>
> 
> with this xsl:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> <xsl:output method="html" encoding="iso-8859-1"/>
> <xsl:template match="start">
>         <xsl:value-of select=".">
>         </xsl:value-of>
> </xsl:template>
> </xsl:stylesheet>
> 
> and I get:
> &#6192;
> 
> What character reference is the &#6192?  This is supposed to be ISO-8859-1
> isn't it?  Then how come I can't seem to find the character code for 6192
> decimal?  And also, what happened to the 2 distinct characters from the
> source xml?
> 
> Any help is much appreciated,
> Thanks,
> Dan
> __________________________________________________________
> Daniel Florian
> Technical Architect
> F o r t   P o i n t   P a r t n e r s   I n c .
> 
> Builders of Internet Solutions that Sell Harder
> 162 5th Ave., 8th Floor, New York NY  10010
> tel   (917) 210-9477
> cell  (917) 940-9780    dflorian@fortpoint.com
> fax   (917) 210-9499    http://www.fortpoint.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]