Dom::isSupported()
Check if the XML extension is installed on the server. Otherwise DOMDocument won't be available and the Dom cannot work at all.
Check if the XML extension is installed on the server. Otherwise DOMDocument won't be available and the Dom cannot work at all.