space replaced with %20

Subject: space replaced with %20
From: Eric Taylor <Eric.Taylor@xxxxxxxxxxxx>
Date: Fri, 15 Sep 2000 09:41:37 -0500
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


Current Thread