This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: space replaced with %20


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]