DOMIT! v 0.52 Tutorial
<<    index    >>
1    2    3    4    5    6    7    8    9    10    11    12    13    14    15    16    17   
18    19    20    21    22    23    24    25    26    27    28    29    30    31   
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.