Sad news, been there and done it, I had a similar experience a few weeks ago in France. We were out for the day on DR notso BIG, when after stopping for an icecream, it wouldn't start.....no spark.....1 1/2 hrs later after removing the tank, seat etc....still no spark, we left it there and hitch hiked back to the Camper, 6hrs,115km,6rides and a short taxi ride later we were back at the Camper at midnight. Picked up the bike the following day and still no spark, so when we got home a few days later I changed the CDI....still no spark, then changed the stator.....and it fired straight away. If we go abroad next year I will take out breakdown cover, if I can on a 21yr old bike.
Good luck with the repairs
Dave