[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

space replaced with %20

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.