Saxon API for .NET

XdmNode.GetAttributeValue Method 

Get a the string value of a named attribute of this element.

public string GetAttributeValue(
   QName name
);

Remarks

Returns null if this node is not an element, or if this element has no attribute with the specified name.

See Also

XdmNode Class | Saxon.Api Namespace