Childhood epilepsy

Some types of epilepsy occur only in children. How are these epilepsies recognized and treated?