if (operand0 instanceof AxisExpression && operand1 instanceof AxisExpression) {
final AxisExpression a1 = (AxisExpression)operand0;
final AxisExpression a2 = (AxisExpression)operand1;
if (a1.getAxis() == a2.getAxis()) {
AxisExpression ax = new AxisExpression(a1.getAxis(),
new CombinedNodeTest(a1.getNodeTest(),
operator,
a2.getNodeTest()));
ExpressionTool.copyLocationInfo(this, ax);
return ax;
}