XmlDiffLib icon indicating copy to clipboard operation
XmlDiffLib copied to clipboard

Ignore x path

Open zaMuffenMan opened this issue 5 years ago • 3 comments

Added functionality to specify an XPath(s) to be ignored when two XML Documents are being compared.

XPath is inputted as a string into a Hashset

zaMuffenMan avatar Jan 23 '20 11:01 zaMuffenMan

Hey, thanks for the PR. I'd love to add this feature, but can you also add some documentation to the readme on how to use it.

BrutalSimplicity avatar Feb 11 '20 21:02 BrutalSimplicity

Hi This feature would make this lib ideal for something I'm working on. Unfortunately when I try and use the XPath printed out in the Diff output, it fails as it is missing the namespaces, I have to edit XPath to add in the namespaces, let me know if you know a way around it.

It's been many months, could I write a few lines to explain the use of this and get the pull request sorted.

heresandyboy avatar Apr 29 '20 16:04 heresandyboy

Hi Andy,

Sure, I'll do this in the next few days.

Sorry I've been a bit off-grid as I started a new job and was a bit overloaded with work.

Any questions in the meantime, please let me know.

Mark

On Wed, 29 Apr 2020 at 17:20, Andy Ainsworth [email protected] wrote:

Hi This feature would make this lib ideal for something I'm working on. Unfortunately when I try and use the XPath printed out in the Diff output, it fails as it is missing the namespaces, I have to edit XPath to add in the namespaces, let me know if you know a way around it.

It's been many months, could I write a few lines to explain the use of this and get the pull request sorted.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BrutalSimplicity/XmlDiffLib/pull/7#issuecomment-621316886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBCC7FUPPZXH4PESKJZW6LRPBHUZANCNFSM4KKU5P5A .

zaMuffenMan avatar May 28 '20 09:05 zaMuffenMan