groovy

Node.depthFirst() 'forgets' text nodes