Saxon uses the class to resolve the URL passed to the document() function.
The spec for this class refers to RFC 2396 for the syntax of URLs.
There's nothing in XSLT that says XSLT should do the escaping, so yes, I think you have to do it yourself.
Michael Kay
Software AG
 -----Original Message-----
From: [] On Behalf Of Ytai Ben-Tsvi
Sent: 15 August 2002 15:06
To: Saxon Help List
Subject: [saxon] spaces in document function

Hi, I have a problem: when I use the document function with URLs that contain spaces/special characters, the request is not transferred properly. Should I do the encoding myself in advance inside the XSL? It seems a bit strange…


Ytai  Ben-Tsvi

C T I Squared