That would only be safe if parseXML also yields HTMLElement in each browser even if the element is not in the document DOM.