This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: loading multiple documents using variables
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 4 Apr 2002 16:24:50 +0100
- Subject: RE: [xsl] loading multiple documents using variables
- Keywords: xsltDEV
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list