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]
Other format: [Raw text]

Re: foreign characters in params passed to stylesheet


If you are getting character references in the output, most likely the
output is being encoded with an encoded that does not support those
characters.  So you should look at changing the output encoding first.

Cheers,

Tom P

[Mattias Konradsson]

I have a problem, when passing parameters to a stylesheet using Sablotron
running on Apache it seems to translate all foreign characters to
entityreferences, passing "mattiaså"  by doing something
liken this:

 $xslt_params["test"] =  "mattiaså";
  $result = xslt_process($xh, $xmlUrl, $xslUrl,null,null,$xslt_params);

writes out as "mattias&#0" from the stylesheet <xsl:value-of
select="$test"/>
Anyone know what to do about this? Any help greatly appreciated




 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]