Re: [xslt] filenames containing spaces in xslt param
- From: Nick Wellnhofer <wellnhofer aevum de>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] filenames containing spaces in xslt param
- Date: Tue, 23 Jun 2009 23:10:03 +0200
Viktor Štujber wrote:
> <xsl:variable name="path" select="'file%20with%20space%20in%20name.xml'" />
> <xsl:copy-of select="document($path)"/>
>
> Works... however, I thought string literals could contain spaces...
> why do spaces have to be escaped this way? I'm curious to know.
Because the argument of the document function is a URI, not a filename.
Nick
--
aevum gmbh
rumfordstr. 4
80469 münchen
germany
tel: +49 89 3838 0653
http://aevum.de/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]