PHP DOM XML Functions

EditRocket provides the following information on DOM XML functions in the PHP source code builder.

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

DomDocument domxml_new_doc ( string $version ) - Creates a new Dom document from scratch and returns it.

DomDocument domxml_open_file ( string $filename [, int $mode [, array &$error ]] ) - The function parses the XML document in the given file.

DomDocument domxml_open_mem ( string $str [, int $mode [, array &$error ]] ) - The function parses the XML document in the given string.

string domxml_version ( void ) - Gets the version of the XML library currently used.

DomDocument domxml_xmltree ( string $str ) - The function parses the XML document in str and returns a tree PHP objects as the parsed document.

DomXsltStylesheet domxml_xslt_stylesheet ( string $xsl_buf ) - Creates a DomXsltStylesheet object from the given XSL buffer.

DomXsltStylesheet domxml_xslt_stylesheet_doc ( DomDocument $xsl_doc ) - Creates a DomXsltStylesheet object from the given XSL document.

DomXsltStylesheet domxml_xslt_stylesheet_file ( string $xsl_file ) - Creates a DomXsltStylesheet object from the given XSL file.

int domxml_xslt_version ( void ) - Gets the XSLT library version.

-

-

-

-

-

-

bool xpath_register_ns ( XPathContext $xpath_context , string $prefix , string $uri ) -

bool xpath_register_ns_auto ( XPathContext $xpath_context [, object $context_node ] ) -

-

-