Altova Mailing List Archives


Re: [xsl] whitespaces

From: "Pep Coll" <pcoll@--------------------->
To:
Date: 12/7/2001 7:10:00 AM
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: [xsl] 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

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.