Extract node attr method