parentNode and ownerDocument

Each node in a DOM Document possesses a reference to both its parent and the DOM Document itself.

The parent of a node can be accessed through the parentNode property:

$cdLibraryNode =& cdNode->parentNode;

A DOM Document reference can be retrieved via the ownerDocument property:

$myCDCollectionDoc =& cdNode->ownerDocument;



Documentation generated by ClassyDoc, using the DOMIT! and SAXY parsers.
Please visit Engage Interactive to download free copies.