Subject: Re: Node Set and Node List differentiation From: Norman Walsh <ndw@xxxxxxxxxx> Date: Mon, 14 Jun 1999 16:10:09 -0400 |
/ "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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Node Set and Node List differentiat, Gulzar, Nadir | Thread | RE: Node Set and Node List differen, Kay Michael |
Can solve the N-queens - but can't , Oren Ben-Kiki | Date | Re: CANNOT CREATE Microsoft.xmldom, Francis Norton |
Month |