[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: how select all siblings?

Subject: Re: how select all siblings?
From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx>
Date: Wed, 13 Oct 2004 09:49:45 -0400
xsl all siblings
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.