As long as the function inside the limit symbol is continuous at $x_0$, the statement follows from the continuity of that function. Search for "interchanging limits," and you're sure to find sources.
Edit: Here's something worthwhile from an introductory real analysis textbook.