Fix value getter

Fix value getter to get rid of warning:
'Attr.nodeValue' is deprecated. Please use 'value' instead.