Place your flour and xanthan gum into a large bowl and mix. Make sure your butter is cold, cut it into small cubes and rub it in until the mixture resembles breadcrumbs.
Stir in your caster sugar.
Beat your 2 eggs together in a separate bowl and gradually add them. Use a fork to bring it all together. It should form a ball and not be very crumbly. The ball might be a tiny bit sticky but very minimally.
Wrap your pastry in cling film. Place in the fridge for 30 minutes (or the freezer). Don't skip this part - it's very important!
Preheat your oven to 180C Fan / 200C and lightly grease a 12 hole muffin/cupcake tin.
When your pastry is cold enough, roll it out either straight onto a floured work surface, or, my preferred way is to roll it out between two pieces of floured cling film or non-stick baking paper. Roll it to about 3mm thick.
Use about a 9-10cm (circular or fluted circle) biscuit cutter to cut out the bases of your mince pies. Carefully ease them into the holes, pressing them in gently.
Spoon about 2 tsp of mincemeat filling into each hole, filling them safely below the top of the pastry case. Brush a little egg wash or milk on the edges of the pastry to help them colour a little if you like too - although, this is optional.
Bake in the oven for around 20 minutes until golden. Keep checking as, depending on your oven, I find sometimes mince pies can take closer to 15 and sometimes closer to 25 minutes.
Leave to cool before removing from the tin.
To make your iced tops, place your icing sugar in a bowl and add a little water at a time until you have a very thick icing. You'll probably only need a couple of tablespoons. Make sure you mix it thoroughly so you don't add too much. If it does become too thin, just add more icing sugar to correct this.
Once your mince pies are completely cool, spoon on a little of the icing onto the filling of each pie so the top is covered and smooth. Leave to set.
Decorate with little holly leaves sprinkles if you fancy with and edible gold glitter spray. Enjoy!