xsl-list
[Top] [All Lists]

Re: [xsl] Intersection of two sets based on a subset of fields?

2020-05-22 23:24:27
On Thu, May 21, 2020 at 7:53 PM David Carlisle 
d(_dot_)p(_dot_)carlisle(_at_)gmail(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

if $set1 is a your sequence of books and $set2 is your sequence of Music
then you seem to want

$set1[concat(Author,'#',Country)=$m/concat(Author,'#',Country) ]

assuming # doesn't appear in Author or Country names.


Nice solution. There seems to be a little type above. $m should be $set2?



-- 
Regards,
Mukul Gandhi
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>