Altova Mailing List Archives
>comp.text.xml Archive Home
>Recent entries
[Thread Prev]
>Thread Next - Re: Merge 2 XML into one
Merge 2 XML into one
To: NULL
Date: 9/15/2008 2:56:00 PM
Hi, I have two XML representing a master-detail relationship and I want to 'join' them into a single XML with all fields from both files. For example One XML file (Order.XML) looks like <Orders> <Order> <productID>1234</productID> ..other order elements... </Order> </Orders> Another XML(Products) looks like <Products> <Product productID='1234'> <Name>... <Category>... ... </Product> <Product> ... </Product> </Products> I want to get a final XML look like One XML file looks like <Orders> <Order> <Product productID='1234'> <Name>... <Category>... ... </Product> ..other order elements... </Order> </Orders> How can I do the join using a XSLT? Any links/suggestion will be helpful. -FJ
Disclaimer
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

