Subject: RE: whitespaces
From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx>
Date: Fri, 7 Dec 2001 19:42:20 +0200
|
Hello Pep!
Which netscape are you using? I cannot reproduce this problem under netscape 6.2, sorry.
---
Oleg Tkachenko,
Multiconn International, Israel
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Pep Coll
> Sent: Friday, December 07, 2001 7:12 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: whitespaces
>
>
> 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?!!!!
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: whitespaces, (continued)
- Jörg Heinicke - Fri, 7 Dec 2001 09:43:53 -0500 (EST)
- Pep Coll - Fri, 7 Dec 2001 09:44:40 -0500 (EST)
- Oleg Tkachenko - Fri, 7 Dec 2001 11:28:07 -0500 (EST)
- Pep Coll - Fri, 7 Dec 2001 12:10:25 -0500 (EST)
- Oleg Tkachenko - Fri, 7 Dec 2001 12:40:28 -0500 (EST) <=
- Pep Coll - Mon, 10 Dec 2001 03:14:14 -0500 (EST)
- Oleg Tkachenko - Mon, 10 Dec 2001 05:08:25 -0500 (EST)
- Pep Coll - Mon, 10 Dec 2001 06:00:52 -0500 (EST)
|
|