<p>A man who attempted to murder three children as they waited outside their school in Dublin has been sentenced to life in prison.</p>