AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

XmlCompareUtil..::..IsEqual Method

Returns true when a and b are structurally equivalent after pruning semantically-empty children.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static bool IsEqual(
	XElement a,
	XElement b
)

Parameters

a
Type: XElement
The first tree.
b
Type: XElement
The second tree.

Return Value

true when the trees are equivalent; otherwise false.