(PHP 4 >= 4.0.0)

xmldocfile -- Creates a DOM object from XML file


object xmldocfile (string filename)


This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

The function parses the XML document in the file named filename and returns an object of class "Dom document", having the properties as listed above. The file is accessed read-only.

See also xmldoc()