[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: whitespaces

Subject: Re: whitespaces
From: "Pep Coll" <pcoll@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Dec 2001 18:12:13 +0100
pep coll
Of course,

Imagine a have this:

<xsl:for-each select="v_c/crw">
      <tr>
       <td>
        <a href="javascript:crw('{.}')">
         <xsl:value-of select="." />
        </a>
       </td>
      </tr>
     </xsl:for-each>

and the xml is:

<v_c>
 <crw>J LOPEZ/MARIA</crw> (note that between J and L there is a
whitespace!!)
 <crw>JUAN/SILVIA</crw>
          ....
</v_c>

the javascript function crw is this:

function crew(code)
{
opener.document.aceptar.p_crew.value = code;
self.close();
}

where p_crew is an input text in html and aceptar is s form, so this
function puts the choosen value in the p_crew input.
But if I choose the first node ( J LOPEZ/MARIA) the javascript function puts
J%20LOPEZ/MARIA in the input instead of J LOPEZ/MARIA, but this happens only
in Netscape not in IExplorer.
That's the problem! What do you think?!!!!



----- Original Message -----
From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, December 07, 2001 5:29 PM
Subject: RE:  whitespaces


> Hello Pep!
>
> > Thank you Oleg, but the problem still remains, maybe the problem is not
> > remove or replace the whitespace but doing any other thing.
> > Otherwise, thanks a lot!
> > I'm still waiting to see if somebody would solve me the problem.
Thanks!!
> Could you give some example of the problem?
>
> ---
> Oleg Tkachenko,
> Multiconn International, Israel
>
>
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.