Re: [xsl] how select all siblings?

Subject: Re: [xsl] how select all siblings?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 13 Oct 2004 14:43:39 +0100
  Any idea why the "sorted_legislators" variable only contains 1 node,
  and not 151 ???

if you use xsl:variable with content rather than a select attribute it
_always_ generates a result tree fragment corresponding to a root node
(/) with children containing whatever is generated, so if you use
xx:node-set() on that you always get back a node set consisting of
exactly one node, / you presumably want to access 

msxsl:node-set($sorted_legislators)/*

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread