You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

XSLT solution to select from 1st source only nodes NOT present in 2nd source

Accepted answer
2
Views
2
Comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!