xmldoc

(PHP 4 >= 4.0.0)

xmldoc -- Creates a DOM object of an XML document

Description

object xmldoc (string str)

Warning

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 str and returns an object of class "Dom document", having the properties as listed above.

See also xmldocfile()