The line probably goes from the transmission to the radiator. The engine isn't involved in the process of cooling the transmission fluid. Replacement would be as simple as removing the old one and...
OK Folks .....I just did mine as these seem to be a problem with 2002 Trailblazers/Envoys at 80K mile plus (See National Highways safety council website as their have been some complaints about these...