Hi;
I have a bunch of unit tests that generate xml files (WordML and
SpreadsheetML) and then compare those to the "correct" file. This works great
except that the java code I use to generate the xml (dom4j) differs from
XmlTextWriter in that dom4j places a space at the end of <name atr='value' />
and XmlTextWriter has no space <name atr='value'/>.
They are identical as xml but not as raw text. Is there some method I can
use to compare xml? And I do need to be able to ignore 2 nodes that are
different - they have the version of the software that creates the file and
the date/time it was created.
???
--
thanks - dave