hdf_get_child — Return the first child of a named node.
resource hdf_get_child( | hdf, | |
name) ; |
resource hdf
;string name
;
Returns the first child of the named node name
of an HDF resource hdf
, or null if name
does not exist.
Example 18. hdf_get_child
example
<?php $hdf = hdf_init(); hdf_set_value($hdf, 'parentNode.childNode', 'child value'); print_r(hdf_get_child($hdf, 'parentNode')); ?>