Preheat the oven to 220C/425F/gas mark 7
Use a 15cm/6 inch round cake tin.
Finely chop the apricots, put them in a bowl, pour the soya milk over, cover and leave to stand for several hours - preferably overnight.
Grease and line the cake tin. Sprinkle the chopped almonds on an oven proof plate and put them in the top of a hot oven till they begin to brown (about 8-12 minutes). Remove from the oven and set aside. Leave the oven door open and reduce heat to warm (325F/163C/gas mark 3)
Put the flour, ground almonds and baking powder in a bowl and mix thoroughly. Melt the margarine and sugar in a small saucepan over a low heat before adding it to the flour mixture. Mix well and add the soaked apricots (together with any remaining liquid), the roasted almonds and the almond essence. Combine all the ingredients together thoroughly.
Transfer the mixture to a greased, floured cake tin, decorate with whole almonds and bake in the middle of a warm oven for about 50 minutes till a warm knife inserted in the centre comes out cleanly. Allow to cool in the tin before removing.