XPathExpression (XPathExpression expression) { while (expression instanceof XPathParenthesizedExpression) { expression = ((XPathParenthesizedExpression)expression).getExpression(); } return expression; }