/** * Creates a new XMLNode * * @param XMLDocument $owner * The document to which this node belongs */ protected function __construct(XMLDocument &$owner) { $this->owner = $owner; $this->doc =& $owner->domdoc(); }