DomQuery::clear();
Clears the contents of all matched elements.
$DomQuery = new DomQuery;
$DomQuery->load($xml)->path('//foo')->clear();
Definition:
public function clear()
Clears the contents of all matched elements.
$DomQuery = new DomQuery;
$DomQuery->load($xml)->path('//foo')->clear();
public function clear()