Declaration
public static XElement ChkElement(
this XContainer element,
XName name
)Summary
Returns the first element matching "name", or if none, throws an exception to say which element was missing
which sub-element. This is a counterpart to
XContainer.Element(XName).