firecracker.
Don't know if this is the correct way or not, but, this is what works for me.
I try to slow down before I get to the corner. Then, leave just enough speed or momentum to lock up your rear brake and skid the back end around the corner. If it is a very tight switchback you should plant your foot in the corner and pivot around the corner on your foot. Practice this on a slow flat corner until you are comfortable with skidding the back end around.
The most important part is, look where you want to go. As you are entering the corner, look at the exit of the corner and tell yourself, 'that is where I want to go'. Do Not, I repeat, Do Not look over the outside edge. Doing this will make you feel like there is a giant magnet trying to drag you over the edge. Always look where you want to go.
Hope this helps a little.
Ol'89r