Please elaborate further...,,are you wanting to install a pocket door for access to your attic...so that it does not have to swing open...?
if so,,pocket doors are not normally used for this function and would not seal out hot or cold from the attic very well at all. give us more info on your plan / request for help. LJ