It's grammatically correct, but it's redundant: the time of "having taken" is already after the time of taking, so you are talking about a time after that again, with no reference to the intermediate time. So why not just say "Having taken her ..." or "After I took her ...", or if you like, "After taking her ..."?