The two functions in PHP 5's SimpleXML extension that let you write out an XML document, simplexml_save_document_file() and simplexml_save_document_string() were removed in rev 1.39 of simplexml.c. Why? Are they coming back?
PHP 5.0's SimpleXML module is just incredible!
Here are two tutorials and the the documentation page for it. SimpleXML Documentation ZEND.com tutorial and introductory article O'Reilly's OnLamp.com introduction to SimpleXML So you might be asking yourself what the big deal with SimpleXML is. This new module allows...
As a rule, don't ask me good questions, its much easier for me to respond to stupid ones. I didn't forget your message, just haven't had time to investigate it.
Ok, while those functions are gone, you can now execute methods on the object, namely $obj->to_xml() and $obj->to_xml_file().
While we're talking SimpleXML, I'm trying to use the XPath function, but my XML file has a whole bunch of namespaces and I'm getting parser errors when I try to query on foo:bar. I saw register_ns(), but I don't think that's tied in with the XPath stuff, right?
Here are two tutorials and the the documentation page for it. SimpleXML Documentation ZEND.com tutorial and introductory article O'Reilly's OnLamp.com introduction to SimpleXML So you might be asking yourself what the big deal with SimpleXML is. This new module allows...
Tracked: Jul 13, 23:15