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

RE: constructing the Node Sets

Subject: RE: constructing the Node Sets
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Jan 2003 21:05:34 GMT
RE:  constructing the Node Sets
> 
> Err...  I think that you mean:
>     $a[@obid = $b/@obid]

No I meant what I wrote. $a and $b in the original posting were sets of
attribute nodes so @obit in your expression would always be an empty
node set.

> Well, except possibly for order, as I noted earlier.
Not at all. Node sets are sets and as such have no ordering property.
If two node sets have the same members they are indistinguishable in
Xpath. 


> Right, in the first expression all the "Class" elements will have a "name"
> attribute with the value "Asm".  In the second expression all the "Class"
> elements will have a "name" attribute with the value "Cmp".

as both $a and $b just contain obid attributes the subsets will
similarly contain just these attribute nodes, but they will 
be different attribute nodes (but with the same value)

David

 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.