groovy

Using xpath returns arraylist instead of nodelist