Attr.nodeValue' is deprecated. Please use 'value' instead. 

```return attribute.nodeValue;```

Should we change to value?