For parents to take the student loan interest deduction, the parents must be personally liable for the loan, co-signing counts AND must claim the child as a dependent.
If your child can be claimed by you as a dependent, but the child is solely legally responsible for the student loan, neither the child nor parent qualify to claim the deduction for interest on their taxes.