XSLT solution to select from 1st source only nodes NOT present in 2nd source
Summary:
Have simple case where 2 XML sources are processed in a way where nodes from 1st xml file are excluded if they already part of 2nd xml file
Brute force approach to for-each loop on 1st source followed by xpath query on 2nd source to find match, and if not found then APPEND to result using data stitch doesn't feel efficient as 2nd source is parsed as many times as many nodes are in 1st source
Content (required):
found interesting idea on web where similar case is handled by XSLT processor using
xsl:key and xsl:for-each select="key(...)" but can't figure out how to make select on key
Tagged:
0