Re: [xsl] how select all siblings?

Subject: Re: [xsl] how select all siblings?
From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx>
Date: Wed, 13 Oct 2004 09:49:45 -0400
BINGO!!!

Thank you very much David.

>>> davidc@xxxxxxxxx 10/13/04 09:43AM >>>

  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