xsl-list
[Top] [All Lists]

Re: how select all siblings?

2004-10-13 06:43:39

  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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>