On Tue, 24 Oct 2023 at 10:54, Mark Rogers mark@more-solutions.co.uk wrote:
I did try this yesterday, and it does get close, but this is a sample of its output: [move, /template/output[4], /template[1], 14]
There's also this: https://superuser.com/questions/79920/how-can-i-diff-two-xml-files It talks about running xmllint on both files, and then doing a normal diff on the result. Probably fiddly to use for multiple comparisons, but might be a slightly better option?
I suspect that combined with a GUI this would be excellent (and I know I asked for a commandline solution but I'd take that). But as it is that's quite hard to actually work with to work out where the differences are to fix them.
XML Spy (commercial paid software) should be able to do it. Also there are XML plugins for VS Code (will run on Linux, but I know some might object).
Regards, Srdjan