Filter XML element

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
jenstorell
New Member
Posts: 1
Joined: Tue Mar 16, 2010 5:26 am

Filter XML element

Post by jenstorell »

I am attempting to compare XML files with ExamDiff Pro. I need to be able to send a report to others to notify them of changes to the file. To do this, I am attempting to use the File Path Filter to show the name of an XML element that needs to be persistently shown in all reports (sort of a heading) and then I'm turning off the Identical Elements filter. I'm hoping this will result in a list of all the parent elements with only their changed child elements and then I can create an HTML report to attach to an email.

Will this work? I'm not sure if the File Path Filter is only for comparing directories or if it will work within a file. If it will work within a file, what syntax do I need to use to filter by XML element, eg <parent>value</parent>?

Thanks.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Filter XML element

Post by psguru »

No, File Path Filter only works for directory comparison (it's not an XPath expression). You can, however, define your custom "comment" to ignore certain nodes of your XML files, under Options | Document Types (see examples there for multiple languages).
psguru
PrestoSoft
Post Reply