PURPOSE: This phase II trial is studying how well giving capecitabine together with gemcitabine followed by capecitabine and radiation therapy works in treating patients with cholangiocarcinoma of the gallbladder or bile duct.