WASHINGTON — White House says President Obama would veto Keystone pipeline legislation.