[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: what am I doing wrong with except and intersect?
On 20 March 2011 12:48, Alex Muir <alex.g.muir@xxxxxxxxx> wrote: > Hi, > > I'm confused as to why I'm not able to get intersect and except to > work with the following node sets. intersect and except are based on node identity, not value, so the nodes involved have to be the actual same nodes, eg return the same id from generate-id() For value based comparisons, you want $a = $b, not($a = $b), $a[. != $b] etc -- Andrew Welch http://andrewjwelch.com
|
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
|