This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: space replaced with %20
- To: xsl-list at mulberrytech dot com
- Subject: Re: space replaced with %20
- From: Francis Norton <francis at redrice dot com>
- Date: Fri, 15 Sep 2000 18:44:01 +0100
- References: <DBF5834E2987D311A4BE0060081D992C2C3F09@BUR2>
- Reply-To: xsl-list at mulberrytech dot com
What you describe is correct URL-encoding. Are you sure that replacing
the "%20" with a " " fixes the problem?
Have you tried this with both Netscape and IE%?
Francis.
Eric Taylor wrote:
>
> Have this is my xsl:
>
> <xsl:for-each select="//index">
> <xsl:sort select="@entry"/>
> <p><a href="{../@location}"><xsl:value-of select="@entry"/></a></p>
> </xsl:for-each>
>
> I get the appropriate information except that some of the @location
> attributes have spaces in them, and for each of these, the space is replaced
> with %20 (e.g., location="d:\new docs\doc1" ends up as
> "d:\new%20docs\doc1"), which causes my link not to work. (Using Instant
> Saxon--not sure if this makes a difference.)
>
> What do I need to do to prevent this? Thanks much. Eric
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
Francis Norton.
why not?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list