[Solved] Combine several XML

Post Reply
FlorianDSK
Newbie
Posts: 18
Joined: Fri May 26, 2023 2:35 pm

[Solved] Combine several XML

Post by FlorianDSK »

Hello,

Is there a way to collect multiple XML's (10+), take all the information out of them and write it into one XML?

Many greetings

Florian
Last edited by FlorianDSK on Tue Aug 08, 2023 11:03 am, edited 1 time in total.
jan_suhr
Advanced member
Posts: 592
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Combine several XML

Post by jan_suhr »

The app Make XML can do it.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
FlorianDSK
Newbie
Posts: 18
Joined: Fri May 26, 2023 2:35 pm

Re: Combine several XML

Post by FlorianDSK »

Hello Jan,

Thank you for your quick reply.
But is there no other option than another payment app?

kindly

Florian
User avatar
magnussandstrom
Advanced member
Posts: 365
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: Combine several XML

Post by magnussandstrom »

If you install Saxon (open source software) and use the Saxonica configurator in Switch you should be able to merge XML files.

Install: https://github.com/Saxonica/Saxon-Archi ... n-HE/9/9.9
About the merge instruction: https://www.saxonica.com/html/documenta ... merge.html

Strangely I can't seem to download the 9.9 HE version from Github anymore.. maybe someone can help out here?
FlorianDSK
Newbie
Posts: 18
Joined: Fri May 26, 2023 2:35 pm

Re: Combine several XML

Post by FlorianDSK »

Hello Magnus,

Thank you for your answer. Appreciate that
But I have now solved this using a batch file :D

Thanks anyway

Kindly

Florian
joaodaffonsojr
Member
Posts: 24
Joined: Wed Sep 08, 2021 4:36 pm

Re: [Solved] Combine several XML

Post by joaodaffonsojr »

Hi !

I have two XML like 32800_ARQOS.xml and 32800_ODTPLIMP.xml that i need to merge.

I tried with SAXON in the cmd line, I did a XSLT and works.

But how can I use the variables of Switch like [Job.Path] and [Job.NameProper] to make SAxon configurator merge them ?

Any tips are very welcome !
Post Reply