Both will do fairly the same job , The Xeon is a good option if editing/rendering is one of your planned priorities . Otherwise the i5 is still a very competent processor that will suffice your needs perfectly.
The Xeon might be a good option also for the future , if the price is fairly similar then get the Xeon if not then get the i5 and spend the extra money towards a better GPU or SSD.