One point of interest here is the the $first variable must be declared
as 'element()+' so that we can access it's siblings later on (thanks to
Roger L. Costello post on the Saxon list for that).
Or in this case you could, as in xslt1, just use select= on the xsl:variable
rather than using xsl:variable with content
<xsl:variable name="first" as="element()+">
<xsl:sequence select=
is equivalent to
<xsl:variable name="first" select=
David
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
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
________________________________________________________________________