<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:template match="/">
	<xsl:for-each select="/mail_list/file">
		<xsl:apply-templates select="document(@name)/entry" />
	</xsl:for-each>
</xsl:template>

<xsl:template match="entry">
	<xsl:apply-templates />
</xsl:template>

<xsl:template match="name">Name: <xsl:value-of select="." />
</xsl:template>

<xsl:template match="address">EMail Address: <xsl:value-of select="." />
</xsl:template>
</xsl:stylesheet>