BEIJING/TAIPEI - El Salvador on Tuesday established diplomatic ties with China while severing its relations with Taiwan, the Chinese and Taiwanese governments said, the latest blow to the self-governed island's quest for international recognition.