This is something that I learned along time ago. Take an iron bar and point it so one end is pointing north and the other is pointing south (using a compass) and strike the south pointing end with a hammer. The bar will magnetize. Maybe someone has tried this with swords?