Silk Touch and Dungeon Spawners

I was under the impression that Silk Touch can be used to pick up and move Dungeon Spawners but I tried with a silk touch enchanted pickaxe and all that happened was it broke the spawner and gave me some XP's ?