2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:libxslt="http://xmlsoft.org/XSLT/namespace" xsl:exclude-result-prefixes="libxslt" version="1.0">
3 <xsl:output method="xml" indent="yes"/>
4 <xsl:variable name="one">
5 <xsl:copy-of select="."/>
7 <xsl:variable name="two" select="document('bug-65.ent')"/>
8 <xsl:template match="/">
9 <xsl:apply-templates select="$two" mode="two"/>
11 <xsl:template match="*" mode="two">
12 <xsl:for-each select="//content">
13 <xsl:apply-templates select="libxslt:node-set($one)" mode="one"/>
19 <xsl:template match="*" mode="one">
20 <xsl:for-each select="//content">
21 <!-- here is the problem (.//content works well, but I need the key
23 <xsl:copy-of select="."/>