Declaration
public static XAttribute ChkAttribute(
this XElement element,
XName name
)Summary
Returns the first attribute matching "name", or if none, throws an exception to say which element was missing
which attribute. This is a counterpart to
XElement.Attribute(XName).