<xsl:variable name="originalroot" select="/">
<xsl:for-each select="document('kljg.xml')/a/b/c">
...
<xsl:apply-templates select="$originalroot/x/y/z">
<xsl:with-param name="x">Ive escaped...</xsl;with-param>
</xsl:apply-templates>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________