C# Class ContentFiltering.Test.Util.XmlDocComparator

Show file Open project: xwiki-contrib/xwiki-office

Public Methods

Method Description
AreIdentical ( XmlDocument xmlDoc1, XmlDocument xmlDoc2 ) : bool

Compares two XmlDocuments. Returns TRUE if the xml dcouments have the same nodes, in the same position with the exact attributes.

Private Methods

Method Description
CompareNodes ( XmlNode node1, XmlNode node2 ) : bool

Method Details

AreIdentical() public static method

Compares two XmlDocuments. Returns TRUE if the xml dcouments have the same nodes, in the same position with the exact attributes.
public static AreIdentical ( XmlDocument xmlDoc1, XmlDocument xmlDoc2 ) : bool
xmlDoc1 System.Xml.XmlDocument
xmlDoc2 System.Xml.XmlDocument
return bool