No. Paroxetine is an antidepressant in a drug class called SSRI and Xanax is a benzodiazepine or a sedative hypnotic used to treat acute anxiety or panic attacks.  Although Paroxetine can be used long term to prevent anxiety disorder, it is not used for an acute attack.