fix value getter

to get rid of "'Attr.nodeValue' is deprecated. Please use 'value' instead."