AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

XmlCompareUtil..::..IsEmptyOrMissingNode Method

Returns true when e has no children, no non-whitespace value, and no meaningful attributes (either none at all or only an xsi:nil="true" marker).

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

Syntax


public static bool IsEmptyOrMissingNode(
	XElement e
)

Parameters

e
Type: XElement
The element to test.

Return Value

true when the element is non-null but semantically empty; otherwise false.