This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: loading multiple documents using variables
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 4 Apr 2002 10:39:53 -0500
- Subject: Re: [xsl] loading multiple documents using variables
- References: <000501c1dbec$dcdb5110$6501a8c0@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
[Michael Kay]
> > try
> > <xsl:variable name="docconcat" select="concat('c:\',$name,'.xml')"/>
> > <xsl:apply-templates select="document($docconcat)"/>
>
> Except that document() requires the argument to be a URI, and a filename
is
> not a URI.
>
Right, some processors accept that form anyway, but it's not really correct.
There's also the old question - exactly what is the right syntax to use for
Windows file: URLs, anyway?
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list