removeSuperfluousTextNodes()
protected method
By keeping them, their text content would be added to the read string.
protected removeSuperfluousTextNodes ( SimpleXMLElement $parentNode ) : SimpleXMLElement |
$parentNode |
Box\Spout\Reader\Wrapper\SimpleXMLElement |
Parent node that may contain nodes to remove |
return |
Box\Spout\Reader\Wrapper\SimpleXMLElement |
Cleaned parent node |