A man from Wroughton has been accused of attempting to kidnap a woman and has appeared in court in Swindon.