Your question maybe best answer by this question on the edaboard.com:measure mains voltage isolated
andRe: What is the best way to measure main voltage with isolat
And here is link:http://www.edaboard.com/thread158728.html?vm=r
Your question seems very simple but rather complex. It all depend on how you want to used for and your application.