| Subject: Re: [xsl] Problem with Saxon 7.9.1 xsl:variable and selecting  additional elements from variable value From: Olaf Meske <omeske@xxxxxxxxxxx> Date: Wed, 12 Oct 2005 13:37:14 +0200 | 
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"/>
Olaf Meske www.softcare.de
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Problem with Saxon 7.9.1 , Michael Kay | Thread | [xsl] Performance, Khorasani, Houman | 
| RE: [xsl] xslt for xsd (schema), tomas.vanek | Date | Re: [xsl] Performance, Andrew Franz | 
| Month |