A poor prince wants to marry the Emperor's daughter. She is proud and rejects his simple gifts of a nightingale and a beautiful rose. He disguises himself as a swineherd and gets a job tending the pigs at the palace. One day, he makes a wonderful rattle that plays every tune in the world. The princess gives him 10 kisses for it. Another day, he makes a magical pot that lets the owner know what everyone in town is cooking. The princess gives him 100 kisses for the pot. The Emperor is disgusted that his daughter would kiss a swineherd for a couple of toys. He casts her out. The prince is disgusted too, and closes his door on her. The princess is left outdoors singing sadly.