Finds an attribute by name in an XML element.
name The name of the attribute for which to search.
The value associated with the named attribute, or null if no attribute with name exists.
With XML as follows, Attribute("B") would return "456".
Example
<thetag A="123" B="456" C="789">text</thetag>