Re: [xsl] Specifying an element from a separate XML file

Subject: Re: [xsl] Specifying an element from a separate XML file
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 21 May 2009 00:17:54 +0100
<xsl:variable name="here" select="."/>
<xsl:for-each select="doc('configuration.xml')/configuration/column">
<td><xsl:value-of select="$here/*[name()=current()]"/></td>
</xsl:for-each>

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread