code: public XObject operate(XObject right) throws javax.xml.transform.TransformerException
    {
  
      if (XObject.CLASS_NUMBER == right.getType())
        return right;
      else
        return new XNumber(right.num());
    }
docs: Apply the operation to two operands, and return the result.
  
  
  @param right non-null reference to the evaluated right operand.
  
  @return non-null reference to the XObject that represents the result of the operation.
  
  @throws javax.xml.transform.TransformerException