[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

re: [xsl] url query works with mozilla; not IE


Subject: re: [xsl] url query works with mozilla; not IE
From: "Braumüller, Hans" <H.Braumueller@xxxxxxxxxxxx>
Date: Thu, 3 Jul 2003 15:57:24 +0200

Hi William,

maybe i am missing something, but if i understand correctly you want get rid off of all white-space?

Then why you don´t use normalize-space($myvar)? , that is what i am using for stripping white-space.

Greetings,

Hans Braumüller 
-- + -- 
Mail Art Not War
http://crosses.net

 



-----Ursprüngliche Nachricht-----
Von: William S. [mailto:wstan@xxxxxxxxx]
Gesendet: Donnerstag, 3. Juli 2003 15:22
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: [xsl] url query works with mozilla; not IE


Tried the translate() below and I still have IE
cutting off the end of the url query.
Mozilla continues to be OK as before.
Maybe it is not a whitespace problem.
Could it be related to encoding? I am
curious how one browser can be OK and IE
not.

Here is some additional information about how
I am defining the variable:

***In my *.php file I have included:

$myvar = $_POST['myvar'];
$parameters = array(
        myvar => $myvar
);
$parameters['myvar'] = iconv("ISO-8859-1","UTF-8",$myvar);

***In my xsl file there is a top declaration of:

<xsl:param name="myvar" select="/.."/>

On Thu, Jul 03, 2003 at 01:37:12PM +0100, Jim Fuller wrote:
> opps something funny happened with browser email
> 
> should read
> 
>  <img  src="display.php?image={translate($myvar,'&#32;&#13;&#9;&#10;','')}" text="foo" alt="foo"/>
> 

-- 
Bill
Amsterdam, NL

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xsl