"$X1(not(position() =1))" />
If you changed that to use Xpath synatax
$X/*[not(position()=1)]
Then you can do that so long as $X is a node set.
If youhave defined it via
<xsl:variable name="X" select=" some xpath"/>
<xsl:param name="X" select=" some xpath"/>
then it will be a node set
conversely if you have defined it by constructing new elements inside
the variable declaration
<xsl:variable name="X">
<xxx>
....
</xxx>
</xsl:variable>
then it is not a node set and so you can not query it with Xpath.
Moset procesors have a node-set() extension function to convert such a
result tree fragment into a node set.
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
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list