Can anyone recommend a way to merge/combine two XML files into one?
I have an InDesign XML report and a PitStop Preflight XML report that I want to combine. I have processed each XML to extract the info I need but I am struggling with how to combine into one report.
Currently I have the two reports renamed in order for my XLST transform to combine the two but I receive an error 'Can't parse input XML error'.
Thanks in advance.
Combine two XML files into one
Re: Combine two XML files into one
One approach is to use the "Make XML" app (https://www.enfocus.com/en/appstore/product/make-xml). You create the structure you want and you insert variables taking values from both datasets. If the number of fields you are interested in is not too high, this is definitely the easiest way to do it.
Re: Combine two XML files into one
You could also use the "Take Notes" app to do this. It can combine Datasets and then you can let Switch export it out as one XML-file.
https://www.enfocus.com/en/appstore/product/take-notes
https://www.enfocus.com/en/appstore/product/take-notes