/// <summary> /// Remove all nodes in the element. /// </summary> public static HElement Empty(this HElement element) { if (element != null) { element.RemoveNodes(); } return(element); }