Another way to say "All children must attend school." is "Attendance at school is mandatory for children."