Re: [xslt] forward and back slashes in URI

On Wed, Aug 08, 2001 at 06:16:02PM -0600, Vakoc, Mark wrote:
> Hello all,
> on win32 the directory deliminator in a path is a backslash '\' instead of a
> forward slash '/'.
> When using URI functions such as document(), it currently works using full
> paths built using a forward slash for the path, i.e.
> <xsl:variable name="test"
> select="document('f:/some%20directory/file.xml')"/>


> but wouldn't work using
> <xsl:variable name="test"
> select="document('f:\some%20directory\file.xml')"/>


> Is this the correct (to spec) behavior?  I now simply convert backslashs to
> forward slashes.  However, shouldn't a URI be able to use the native
> deliminating convention?

  no see RFC 2396


Daniel Veillard      | Red Hat Network  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]