Subject: Re: loading multiple documents using variables
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 4 Apr 2002 10:39:53 -0500
|
[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
| Current Thread |
- <Possible follow-ups>
- Snow, Corey - Thu, 4 Apr 2002 12:57:33 -0500 (EST)
|
|