Call to undefined function domxml_new_doc()
How to deal with this?
Moderator: General Moderators
apperently it fails, so that means you don't have the dom_xml functionality.Check your configuration or try initializing a domxml_new_doc() to determine if your server's PHP has dom_xml functionality on.
If you don't have access to PHP's dom_xml functions, then you can simply output the XML with the echo function. When using just the echo function, you'll need to use a helper function (e.g. parseToXML) that will correctly encode a few special entities (<,>,",') to be XML-friendly.