Merge XML nodes based on Certain Key Value using XSLT
问题 Merge XML nodes based on ReferenceNumber Value How to merge the xml request to the output given below using XSLT based on the Key value. Basically the xml response has to be merged for ReferenceNumber, along with the respective ProductCode and SecondaryDivision. Below is the Request and the Expected response. I tried Using following XSLT but it did not gave desired result. Below is the XSLT <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:key name="refNo"