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/ _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
