Page 1 of 1

Diff Directories/Files: How do I ignore xml declaration?

Posted: Wed Oct 23, 2024 2:44 pm
by loukla
Dear oXygen Team,

I am trying to compare directories/files with the diff tool and I would like to ignore the xml-declaration at the beginning of the documents:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
. Is this possible?
I have tried to control it via settings (see image), but it didn't work out.

Many Thanks!
Lou
grafik.png

Re: Diff Directories/Files: How do I ignore xml declaration?

Posted: Wed Oct 23, 2024 3:44 pm
by tavy
Hello,

Unfortunately we do not have an option that allows you to ignore the XML declaration, and you cannot use XPath to match the xml declaration.

Best Regards,
Octavian