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

Re: Node Set and Node List differentiation

Subject: Re: Node Set and Node List differentiation
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Mon, 14 Jun 1999 16:10:09 -0400
differentiation of norm
/ "Gulzar, Nadir" <ngulzar@xxxxxxxx> was heard to say:
| I inferred the following based on the context. Can somebody please confirm
| or clarify the following.
| 
| Node Set: Nodes that have common parent element type in the hierarchy. This
| is essential when using UnionExpr since subsequent filters would require
| consistency in the element type of input nodes.

I don't think there's any requirement that a node-set contain
only nodes that have a common parent. Using doc(), I can imagine
constructing a node set that contains nodes from different
documents (all nodes from the same document have at least one
common parent).

| Node List: Could be a 'Node set' but not necessarily. This is a context list
| of nodes that contain nodes of different types from arbitrary levels (in the
| document order).

By my reading of the spec, a node list is the list of nodes that
the processor is currently "working on". You can't instantiate a
node list, per se. And I don't think there's any reason to
expect the node list to be in document order.

                                        Cheers,
                                          norm
-- 
Norman Walsh <ndw@xxxxxxxxxx>      | The [hydrogen] bomb's brilliant
http://nwalsh.com/                 | gleam reminds me of the brilliant
                                   | shine Gleam gives to floors. It's
                                   | a science marvel.--Advertisment in
                                   | the Pittsburgh Press, 1954


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.