[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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:05:00 +0200

><xsl:for-each select="doc">
>         <xsl:variable name="name"><xsl:value-of select="@id"
/></xsl:variable>
>         <xsl:apply-templates select="document('C:\{$name}.xml')" />
></xsl:for-each>

try
<xsl:variable name="docconcat" select="concat('c:\',$name,'.xml')"/>
<xsl:apply-templates select="document($docconcat)"/>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread