Getting and Setting nodes attributes functions