Prefer DOMParser over ActiveX when both are availables.