A man was taken to the hospital with life-threatening injuries after being attacked in San Jose Thursday afternoon, according to the police department.