This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: loading multiple documents using variables
- From: "Bryan Rasmussen" <bry at itnisk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 4 Apr 2002 17:35:56 +0200
- Subject: RE: [xsl] loading multiple documents using variables
- Keywords: xsltDEV
- Reply-to: xsl-list at lists dot mulberrytech dot com
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Michael Kay
Sent: 4. april 2002 17:25
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] loading multiple documents using variables
> 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.
damn, yeah I just was doing some stuff with that too. wipes egg off,
well I know saxon understands file:/// hopefully xalan does as well.
<xsl:variable name="docconcat" select="concat('file:///c:/',$name,'.xml')"/>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list