/// <summary>
 /// Checks whether the element has an attribute matching the specified namespace and name.
 /// </summary>
 /// <param name="NamespaceURI">Namespace of the attribute to check for.</param>
 /// <param name="LocalName">Name of the attribute to check for.</param>
 /// <returns>Value indicating whether the element has the specified attribute.</returns>
 public bool HasAttributeNS(string NamespaceURI, string LocalName)
 {
     return(element.hasAttributeNS(NamespaceURI, LocalName) > 0);
 }