On 2013-04-11, David Rees wrote:

> What is the best way to go about ignoring a particular attribute? For
> example, given the following snippets how can we get XMLUnit to consider
> them equal (by ignoring the b attribute)?

> <A a="a" b="b"/>

> <A a="a" />

A custom DifferenceListener looking at the XPath is your only option,
I'm afraid.

Stefan

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Xmlunit-general mailing list
Xmlunit-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmlunit-general

Reply via email to