groovy

Node.text() returns empty string for non-String or Collection values