Well...Look at the Light Side - the YORKIE DIDN'T DO IT ?
I'm kidding ....and I know you're really upset - thats awful. I think you should try the Oxy Cleaner and Quick. The sooner you get to it the better.
The other alternative you have is thinking about something to cover it up because everything is hard to get out of white carpet....especially if it's a grey white or a pink white - all white is NOT White.
I wish I had more help for you -
What Fiber is the Carpet ?