Compare XML files but ignore the Header

Open discussion about WinMerge.

Compare XML files but ignore the Header

Postby lekfir » Wed Jul 20, 2016 7:28 pm

Hi,
What I am trying to do is to compare many XML files but in the header of the XML, the version is different.
For example:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Configuration version="11.7.1.29" xmlns:xsi


and in the 2nd file it can be:

Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Configuration version="11.8.8.22" xmlns:xsi


Is it possible to ignore the 2 lines in each file? Otherwise WinMerge says that all the files are different...

Thanks!!!
lekfir
 
Posts: 1
Joined: Wed Jul 20, 2016 7:23 pm

Re: Compare XML files but ignore the Header

Postby Chares » Fri Oct 07, 2016 6:46 am

lekfir wrote:Hi,
What I am trying to do is to compare many XML files but in the header of the XML, the version is different.
For example:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Configuration version="11.7.1.29" xmlns:xsi


and in the 2nd file it can be:

Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Configuration version="11.8.8.22" xmlns:xsi


Is it possible to ignore the 2 lines in each file? Otherwise WinMerge says that all the files are different...

Thanks!!!


Hey Lekfir, any luck with this? I don't think it's possible.
Chares
 
Posts: 1
Joined: Thu Oct 06, 2016 8:27 am


Return to Open Discussion

Who is online

Users browsing this forum: Bing [Bot] and 4 guests