Student Loan Interest Deduction -- Who Can Legally Claim it?

I am the co-signer on my daughter's student loans.  She was a dependent when the loans were taken out; but, she is currently married and is not my dependent.  I want to take over making the payments on the loans; but I want her to be able to claim the interest deduction.  Can we do that without running afoul of the IRS?