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: International Characters in attributes


>You might want to output HTML in iso-8859-1 rather than utf-8.

That definitely solves the problem, however, I am not able to hardcode the
encoding type into the XSL, since the application could be viewed by two or
more different viewers at the same time (possiby one viewing a french
version, and another in japanese and another in english). If I set the
encoding in the xsl, its going to force iso-8859-1 output type on the
japanese user, and english user alike. I tried haveing the application
supply a global variable teling the xsl which encoding type to use, but when
I use : <xsl:output encoding="$encode_type"/> the Java VM says that it
doesn't support encoding type "$encode_type". Is there a way to evaulate a
variable like that in the encoding attribute, some extension perhaps for
XALAN?
 I'm extremely unfamiliar with how all this encoding works, so maybe I'm
missing something here.



 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]