A recent and rather simple question.
I have two sequences, let's say 1,2,3 and 2,3,4 and I need to get the items that exist in both, in this case 2,3One could think to use the union and intersect operators, available in XQuery. Unfortunately, these operators are based on node identity, the arguments are sequences of nodes not atomic values.
So, there were a few answers of the form $seq1[. = $seq2]Subscribe to get all the news, info and tutorials you need to build better business apps and sites