doxy/node/xml2js.js
function getAttr(obj, name) {
  return _.find(obj.attr, function(item) {
    return item.name == name;
  }).value;
}
function getAttr(obj, name) {
  return _.find(obj.attr, function(item) {
    return item.name == name;
  }).value;
}
function getAttr ( obj , name ) { return _ . find ( obj . attr , function ( item ) { return item . name == name ; } ) . value ; }
get the value of attribute with the given name of the given object
get the value of attribute with the given name of the given object