RE: [xsl] loading multiple documents using variables

Subject: RE: [xsl] loading multiple documents using variables
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Thu, 4 Apr 2002 17:35:56 +0200

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay
Sent: 4. april 2002 17:25
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread