O'Reilly logo

XML Parsing with PHP by John M. Stokes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B: DOM Function Reference

Method signatures come from the PHP online manual at http://php.net/dom, but I have attempted to test each function and to fill in the gaps when the PHP online manual is incomplete or ambiguous. Note that this reference omits properties and methods that have been deprecated or that have been defined but not yet implemented. Please refer to the online manual for the most complete and up-to-date information.

DOM requires both itself and libxml to be enabled. Both of these are enabled by default.

DOMAttr Class

See DOMNode below for methods the DOMAttr class inherits.

Properties

Property Description
public readonly string $name; The name of the attribute.
public readonly DOMElement $ownerElement; The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required