Complex sentence: They are similar to the cast of a soap opera or a folk tale such as Robin Hood: the principal characters must appear, but the lesser characters are included at the discretion of the performer.
Split into simpler sentences: They are similar to the cast of a soap opera or a folk tale like Robin Hood. While the principal characters must appear, the lesser characters are included at the discretion of the performer.