Page 1 of 1

Filter XML element

Posted: Tue Mar 16, 2010 5:37 am
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.

Re: Filter XML element

Posted: Tue Mar 16, 2010 5:23 pm
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).