Subject: Re: space replaced with %20 From: Francis Norton <francis@xxxxxxxxxxx> Date: Fri, 15 Sep 2000 18:44:01 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
space replaced with %20, Eric Taylor | Thread | Re: space replaced with %20, David Carlisle |
Needed traversing code for ......, lvenki | Date | breaking sorted material into subse, Eric Taylor |
Month |