parse some attributes