[Home] [By Thread] [By Date] [Recent Entries]
On 28/03/2012 12:16, Hermann Stamm-Wilbrandt wrote:
The so-called Kaysian method is a way of doing identity-based node-set intersection and difference in XSLT 1.0, which does not offer the "intersect" and "except" operators.I used Kaysian method as described in this document (section 1c), sofar: http://www.xml.org//sites/www.xml.org/files/xslt_efficient_programming_techniques.pdf#page=3 You seem to be wanting to do equality-based intersection and difference, which is actually much simpler, for example $x/ns1/flags/flag[not(. = $x/ns2/flags/flag)] selects the flags that are in ns1 but not in ns2. Michael Kay Saxonica
|

Cart



