public getAttribute ( string | integer $attr, string $compare = 'total', boolean $case_sensitive = false ) : string | array | ||
$attr | string | integer | Negative int to count from end |
$compare | string | Find node using "namespace", "name" or "total" |
$case_sensitive | boolean | Compare with case sensitivity |
return | string | array |