I think it is valid if the sequance of x_n approaches 0 but does not ever have terms equalling zero, because you have continuity for strictly positive x, and can pass the limit inside. Now, I may be making this more complicated then it is, but I do know, at least in my textbook, to get copntinuity at zero you need the continuous inverse theorem because of the issue with the vertical tangent...