This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: loading multiple documents using variables




-----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]