What is the .Net equivalent code for the below Java code?
*public* *void* testCompareToSkeletonXML() *throws* Exception {
String myControlXML = "<location><street-address>22 any
street</street-address><postcode>XY00 99Z</postcode></location>";
String myTestXML = "<location><street-address>20 east
cheap</street-address><postcode>EC3M 1EB</postcode></location>";
DifferenceListener myDifferenceListener =
*new*IgnoreTextAndAttributeValuesDifferenceListener();
Diff myDiff = *new* Diff(myControlXML, myTestXML);
myDiff.overrideDifferenceListener(myDifferenceListener);
assertTrue("test XML matches control skeleton XML " + myDiff,
myDiff.similar());
}
There is no enough documentation provided for .Net.
I tried adding xmlunit reference and tried to find the DifferenceLinstener
and Diff class which I could not find.
--Regards,
svangeti.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Xmlunit-general mailing list
Xmlunit-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmlunit-general