Our previous rail affiliate has left the program that we use. As a result we do not currently offer links to European rail tickets. Sorry.
If you are in the UK and you want to get to Northern Spain by rail, then try searches for Eurostar. A train journey will however be quite long.