The yellowy stuff is bile like stuff from the top of the intestine. I would say that if she continues to do it that you may want to get a second opinion from a different vet.

Good luck!!