Parents and guardians in Swindon have faced court action after their children failed to regularly attend school.