xsl-list
[Top] [All Lists]

re: url query works with mozilla; not IE

2003-07-03 06:57:24
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(_at_)xs4all(_dot_)nl]
Gesendet: Donnerstag, 3. Juli 2003 15:22
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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