It's not xsl:sequence that's the problem, it's the fact that you are
creating a temporary tree, which always causes nodes to be copied.
You can use
<xsl:variable name="thissection"
select="(../myns:section, ../../myns:section)[1]"/>
Thanks to all I combined the two tips and use something like:
<xsl:variable name="thissection" select="ancestor::myns:section"/>
Regards
Olaf Meske
www.softcare.de
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--