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



> 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

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