W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

How to pass the right value by "xsl:value select=" to URL in the generated HTML page

From: Guo, Gordon (OTP-KC) <gordon_guo@dstoutput.com>
Date: Thu, 3 Apr 2003 11:53:54 -0600
Message-ID: <0B3166E96E083F4AA9BFAEC8D3B3E06B0F342A3E@otcssex01001.output.net>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Hi all friends,
    We are using our XSL to generate a HTML page. In the generated page, we
have an URL to call us back.  In the URL, we need to pass some parameters
with France characters. These France characters are displayed correctly in
the page. However, the value of these characters passed into URL are not

    Our XSL is something like:

<?xml version="1.0" encoding="ISO-8859-1" ?>
this month: <xsl:value-of select="$em"/>

<xsl:element name="img">
    <xsl:attribute name="src" >

    As mentioned above, the right value of "$em" (déc) is displayed for
"this month".  However, the wrong value of "$em" (déc) is passed into img's
    We also noticed that the following line is always automatically added
into the generated HTML:
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    We tried many ways, with no success, to overweight it as:
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    All your suggestions and advices are appreciated.

Received on Thursday, 3 April 2003 12:51:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:10 UTC