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

Re: space replaced with %20

Subject: Re: space replaced with %20
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 15 Sep 2000 18:50:03 GMT
uri space
> which causes my link not to work.

URIs containing white space are _supposed_ to be always encoded, and not
just by XSL. So if %20 doesn't work it is a bug in whatever you are using
to resolve the URI.


> What do I need to do to prevent this?  Thanks much.  Eric

You can't in the html method (unless saxon provides a non standard hook
to avoid this) If you output using the xml method then it doesn't happen
as the xsl system doesn't know in that case that the href attribute
is a URI.

But then you get spaces in your URI and theyare not guaranteed to work:
you are supposed to encode spaces as %20 ....

> d:\new%20docs\doc1"

Ah: but then that isn't a URI at all, should be
file:///d:/new%20docs/doc1
I'd guess.

David


 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.