[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Anyone can explain me this syntax?
Jaime,
At 02:01 PM 1/13/2004, you wrote: Thanks Wendell for your complete explanation. While reading your help, I tested another alternative: Yes, if the *value* of each ROW is unique, it can likewise be used to deduplicate. Note however this is a big IF, and isn't a reliable assumption to make. To understand this you need to know that $node1 = $node2 is true if the (string) value of $node1 is the same as the string value of $node2 -- and likewise, $nodeset1 = $nodeset2 is true if the value of *any* of the nodes in $nodeset1 is the same as the value of any of the nodes in $nodeset2. This is quite a loose and permissive way of construing node-set equality, which is actually very useful sometimes. But it means that the "=" equality test is not useful for testing node identity unless every node concerned has a unique value -- which is rarely the case. Cheers, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|