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:05:00 +0200
- Subject: RE: [xsl] loading multiple documents using variables
- Keywords: xsltDEV
- Reply-to: xsl-list at lists dot mulberrytech dot com
><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