A 42-year-old man will appear in court today on attempted murder charges after several people were stabbed at a supermarket in New Zealand.