xmlGetAttr function

Get the value of an attribute in an XML node