Dear Coppils
Hi
As i understood , you wanna build a 0-100v variable power supply with 50ma current. so you can use a series ceramic capacitor with the power line and then you can rectify it and ...... BTW , i think if this supply be not isolated , it will be harmful and dangerous , and if you are beginner , i suggest you , don't try to do it , because it is dangerous . but you can do it with switching systems , or a simple low current transformer ( 230/110).
Best Wishes
Goldsmith