<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Thu Mar 30 14:37:00 UTC 2023 -->
<xs:schema elementFormDefault="qualified" xmlns:srt-types="http://fasb.org/srt-types/2022" targetNamespace="http://www.rexamerican.com/20230131" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-types="http://fasb.org/us-types/2022" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:rex="http://www.rexamerican.com/20230131" xmlns:dtr="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20230131_lab.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20230131_pre.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20230131_def.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20230131_cal.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef"/>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet" id="rex_r_ConsolidatedBalanceSheet">
        <link:definition>001 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals" id="rex_r_ConsolidatedBalanceSheet_Parentheticals">
        <link:definition>002 - Statement - CONSOLIDATED BALANCE SHEETS (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement" id="rex_r_ConsolidatedIncomeStatement">
        <link:definition>003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals" id="rex_r_ConsolidatedIncomeStatement_Parentheticals">
        <link:definition>004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3" id="rex_r_ShareholdersEquityType2or3">
        <link:definition>005 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow" id="rex_r_ConsolidatedCashFlow">
        <link:definition>006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES" id="rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES">
        <link:definition>007 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE" id="rex_r_NETSALESANDREVENUE">
        <link:definition>008 - Disclosure - NET SALES AND REVENUE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INVESTMENTS" id="rex_r_INVESTMENTS">
        <link:definition>009 - Disclosure - INVESTMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/FAIRVALUE" id="rex_r_FAIRVALUE">
        <link:definition>010 - Disclosure - FAIR VALUE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/OTHERASSETS" id="rex_r_OTHERASSETS">
        <link:definition>011 - Disclosure - OTHER ASSETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" id="rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES">
        <link:definition>012 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/LEASES" id="rex_r_LEASES">
        <link:definition>013 - Disclosure - LEASES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMONSTOCK" id="rex_r_COMMONSTOCK">
        <link:definition>014 - Disclosure - COMMON STOCK</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS" id="rex_r_DERIVATIVEFINANCIALINSTRUMENTS">
        <link:definition>015 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS" id="rex_r_EMPLOYEEBENEFITS">
        <link:definition>016 - Disclosure - EMPLOYEE BENEFITS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMITMENTS" id="rex_r_COMMITMENTS">
        <link:definition>017 - Disclosure - COMMITMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INCOMETAXES" id="rex_r_INCOMETAXES">
        <link:definition>018 - Disclosure - INCOME TAXES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/CONTINGENCIES" id="rex_r_CONTINGENCIES">
        <link:definition>019 - Disclosure - CONTINGENCIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DISCONTINUEDOPERATIONS" id="rex_r_DISCONTINUEDOPERATIONS">
        <link:definition>020 - Disclosure - DISCONTINUED OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/QUARTERLYUNAUDITEDINFORMATION" id="rex_r_QUARTERLYUNAUDITEDINFORMATION">
        <link:definition>021 - Disclosure - QUARTERLY UNAUDITED INFORMATION</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/RELATEDPARTIES" id="rex_r_RELATEDPARTIES">
        <link:definition>022 - Disclosure - RELATED PARTIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy" id="rex_r_AccountingPoliciesByPolicy">
        <link:definition>023 - Disclosure - Accounting Policies, by Policy (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables" id="rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables">
        <link:definition>024 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUETables" id="rex_r_NETSALESANDREVENUETables">
        <link:definition>025 - Disclosure - NET SALES AND REVENUE (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INVESTMENTSTables" id="rex_r_INVESTMENTSTables">
        <link:definition>026 - Disclosure - INVESTMENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/FAIRVALUETables" id="rex_r_FAIRVALUETables">
        <link:definition>027 - Disclosure - FAIR VALUE (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/OTHERASSETSTables" id="rex_r_OTHERASSETSTables">
        <link:definition>028 - Disclosure - OTHER ASSETS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" id="rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables">
        <link:definition>029 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/LEASESTables" id="rex_r_LEASESTables">
        <link:definition>030 - Disclosure - LEASES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMONSTOCKTables" id="rex_r_COMMONSTOCKTables">
        <link:definition>031 - Disclosure - COMMON STOCK (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables" id="rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables">
        <link:definition>032 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables" id="rex_r_EMPLOYEEBENEFITSTables">
        <link:definition>033 - Disclosure - EMPLOYEE BENEFITS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INCOMETAXESTables" id="rex_r_INCOMETAXESTables">
        <link:definition>034 - Disclosure - INCOME TAXES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DISCONTINUEDOPERATIONSTables" id="rex_r_DISCONTINUEDOPERATIONSTables">
        <link:definition>035 - Disclosure - DISCONTINUED OPERATIONS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/QUARTERLYUNAUDITEDINFORMATIONTables" id="rex_r_QUARTERLYUNAUDITEDINFORMATIONTables">
        <link:definition>036 - Disclosure - QUARTERLY UNAUDITED INFORMATION (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" id="rex_r_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails">
        <link:definition>037 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofcomponentsofInventoryTable" id="rex_r_ScheduleofcomponentsofInventoryTable">
        <link:definition>038 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - Schedule of components of Inventory</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofPropertyPlantandEquipmentTable" id="rex_r_ScheduleofPropertyPlantandEquipmentTable">
        <link:definition>039 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - Schedule of Property Plant and Equipment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable" id="rex_r_ScheduleofDisaggregatedRevenuebyProductTable">
        <link:definition>040 - Disclosure - NET SALES AND REVENUE (Details) - Schedule of Disaggregated Revenue by Product</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails" id="rex_r_INVESTMENTSDetails">
        <link:definition>041 - Disclosure - INVESTMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable" id="rex_r_ScheduleofEquityMethodInvestmentsTable">
        <link:definition>042 - Disclosure - INVESTMENTS (Details) - Schedule of Equity Method Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofCondensedBalanceSheetTable" id="rex_r_ScheduleofCondensedBalanceSheetTable">
        <link:definition>043 - Disclosure - INVESTMENTS (Details) - Schedule of Condensed Balance Sheet</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable" id="rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable">
        <link:definition>044 - Disclosure - INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" id="rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
        <link:definition>045 - Disclosure - FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable" id="rex_r_ScheduleofOtherAssetsTable">
        <link:definition>046 - Disclosure - OTHER ASSETS (Details) - Schedule of Other Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable" id="rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable">
        <link:definition>047 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+RbeyNoqrrTkYoMOpLsJv8e/Nf944qk/ByBbaa8uHmxnNqS3LaxMKz2tmuOj7e2trvC6K5C+F+jbq5S2/b+IREpwNvRjGcT9eLNrRFROVn5ICer4yHfyc7MiPpUG5ne7h4YH+sJxCbUP7OM3xvBMbpsbXMB7sCrFm] CSR-->
      <link:roleType roleURI="http://www.rexamerican.com/role/LEASESDetails" id="rex_r_LEASESDetails">
        <link:definition>048 - Disclosure - LEASES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable" id="rex_r_ScheduleofComponentsofLeaseExpenseTable">
        <link:definition>049 - Disclosure - LEASES (Details) - Schedule of Components of Lease Expense</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesFY2021Table" id="rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesFY2021Table">
        <link:definition>050 - Disclosure - LEASES (Details) - Schedule of Future Minimum Rental Payments for Operating Leases (FY2021)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMONSTOCKDetails" id="rex_r_COMMONSTOCKDetails">
        <link:definition>051 - Disclosure - COMMON STOCK (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofCommonStockTable" id="rex_r_ScheduleofCommonStockTable">
        <link:definition>052 - Disclosure - COMMON STOCK (Details) - Schedule of Common Stock</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails" id="rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails">
        <link:definition>053 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" id="rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable">
        <link:definition>054 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails" id="rex_r_EMPLOYEEBENEFITSDetails">
        <link:definition>055 - Disclosure - EMPLOYEE BENEFITS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable" id="rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable">
        <link:definition>056 - Disclosure - EMPLOYEE BENEFITS (Details) - Schedule of Non-Vested Restricted Stock Award Activity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMITMENTSDetails" id="rex_r_COMMITMENTSDetails">
        <link:definition>057 - Disclosure - COMMITMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/INCOMETAXESDetails" id="rex_r_INCOMETAXESDetails">
        <link:definition>058 - Disclosure - INCOME TAXES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleoftheProvisionforIncomeTaxesTable" id="rex_r_ScheduleoftheProvisionforIncomeTaxesTable">
        <link:definition>059 - Disclosure - INCOME TAXES (Details) - Schedule of the Provision for Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofDeferredTaxAssetsandLiabilitiesTable" id="rex_r_ScheduleofDeferredTaxAssetsandLiabilitiesTable">
        <link:definition>060 - Disclosure - INCOME TAXES (Details) - Schedule of Deferred Tax Assets and Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofEffectiveIncomeTaxReconciliationTable" id="rex_r_ScheduleofEffectiveIncomeTaxReconciliationTable">
        <link:definition>061 - Disclosure - INCOME TAXES (Details) - Schedule of Effective Income Tax Reconciliation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable" id="rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable">
        <link:definition>062 - Disclosure - INCOME TAXES (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/CONTINGENCIESDetails" id="rex_r_CONTINGENCIESDetails">
        <link:definition>063 - Disclosure - CONTINGENCIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable" id="rex_r_ScheduleOfDiscontinuedItemsStatementofOperationsTable">
        <link:definition>064 - Disclosure - DISCONTINUED OPERATIONS (Details) - Schedule Of Discontinued Items Statement of Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofQuarterlyFinancialInformationTable" id="rex_r_ScheduleofQuarterlyFinancialInformationTable">
        <link:definition>065 - Disclosure - QUARTERLY UNAUDITED INFORMATION (Details) - Schedule of Quarterly Financial Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/RELATEDPARTIESDetails" id="rex_r_RELATEDPARTIESDetails">
        <link:definition>066 - Disclosure - RELATED PARTIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DocumentAndEntityInformation" id="DocumentAndEntityInformation">
        <link:definition>000 - Document - Document And Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://fasb.org/us-types/2022" schemaLocation="https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://fasb.org/srt-types/2022" schemaLocation="https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/sic/2022" schemaLocation="https://xbrl.sec.gov/sic/2022/sic-2022.xsd"/>
  <xs:element name="ScheduleOfComponentsOfInventoryAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfComponentsOfInventoryAbstract"/>
  <xs:element name="ScheduleOfPropertyPlantAndEquipmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfPropertyPlantAndEquipmentAbstract"/>
  <xs:element name="ScheduleOfDisaggregatedRevenueByProductAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfDisaggregatedRevenueByProductAbstract"/>
  <xs:element name="ScheduleOfEquityMethodInvestmentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
  <xs:element name="ScheduleOfCondensedBalanceSheetAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfCondensedBalanceSheetAbstract"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
  <xs:element name="ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
  <xs:element name="ScheduleOfOtherAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfOtherAssetsAbstract"/>
  <xs:element name="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
  <xs:element name="ScheduleOfComponentsOfLeaseExpenseAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfComponentsOfLeaseExpenseAbstract"/>
  <xs:element name="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesFy2021Abstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesFy2021Abstract"/>
  <xs:element name="ScheduleOfCommonStockAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfCommonStockAbstract"/>
  <xs:element name="ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
  <xs:element name="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
  <xs:element name="ScheduleOfTheProvisionForIncomeTaxesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfTheProvisionForIncomeTaxesAbstract"/>
  <xs:element name="ScheduleOfDeferredTaxAssetsAndLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfDeferredTaxAssetsAndLiabilitiesAbstract"/>
  <xs:element name="ScheduleOfEffectiveIncomeTaxReconciliationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfEffectiveIncomeTaxReconciliationAbstract"/>
  <xs:element name="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
  <xs:element name="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract"/>
  <xs:element name="ScheduleOfQuarterlyFinancialInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfQuarterlyFinancialInformationAbstract"/>
  <xs:element name="UnlabeledAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract"/>
  <xs:element name="LiabilitiesAndEquityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LiabilitiesAndEquityAbstract"/>
  <xs:element name="LongTermLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LongTermLiabilitiesAbstract"/>
  <xs:element name="CommitmentsAndContingenciesNotes11And13Abstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CommitmentsAndContingenciesNotes11And13Abstract"/>
  <xs:element name="RexShareholdersEquityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RexShareholdersEquityAbstract"/>
  <xs:element name="UnlabeledAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract0"/>
  <xs:element name="UnlabeledAbstract1" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract1"/>
  <xs:element name="UnlabeledAbstract2" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract2"/>
  <xs:element name="UnlabeledAbstract3" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract3"/>
  <xs:element name="UnlabeledAbstract4" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract4"/>
  <xs:element name="UnlabeledAbstract5" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract5"/>
  <xs:element name="UnlabeledAbstract6" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract6"/>
  <xs:element name="UnlabeledAbstract7" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract7"/>
  <xs:element name="UnlabeledAbstract8" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract8"/>
  <xs:element name="UnlabeledAbstract9" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract9"/>
  <xs:element name="UnlabeledAbstract10" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract10"/>
  <xs:element name="UnlabeledAbstract11" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract11"/>
  <xs:element name="UnlabeledAbstract12" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract12"/>
  <xs:element name="UnlabeledAbstract13" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract13"/>
  <xs:element name="UnlabeledAbstract14" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract14"/>
  <xs:element name="UnlabeledAbstract15" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract15"/>
  <xs:element name="UnlabeledAbstract16" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract16"/>
  <xs:element name="UnlabeledAbstract17" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract17"/>
  <xs:element name="UnlabeledAbstract18" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract18"/>
  <xs:element name="UnlabeledAbstract19" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract19"/>
  <xs:element name="UnlabeledAbstract20" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract20"/>
  <xs:element name="UnlabeledAbstract21" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract21"/>
  <xs:element name="UnlabeledAbstract22" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract22"/>
  <xs:element name="UnlabeledAbstract23" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract23"/>
  <xs:element name="CashFlowsFromOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromOperatingActivitiesAbstract"/>
  <xs:element name="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract"/>
  <xs:element name="ChangesInAssetsAndLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ChangesInAssetsAndLiabilitiesAbstract"/>
  <xs:element name="CashFlowsFromInvestingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromInvestingActivitiesAbstract"/>
  <xs:element name="CashFlowsFromFinancingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromFinancingActivitiesAbstract"/>
  <xs:element name="ContinuedFromThePreviousPageAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ContinuedFromThePreviousPageAbstract"/>
  <xs:element name="UnlabeledAbstract24" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract24"/>
  <xs:element name="UnlabeledAbstract25" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract25"/>
  <xs:element name="ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract"/>
  <xs:element name="UnlabeledAbstract26" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract26"/>
  <xs:element name="UnlabeledAbstract27" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract27"/>
  <xs:element name="UnlabeledAbstract28" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract28"/>
  <xs:element name="SalesOfProductsContinuingOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SalesOfProductsContinuingOperationsAbstract"/>
  <xs:element name="UnlabeledAbstract29" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract29"/>
  <xs:element name="UnlabeledAbstract30" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract30"/>
  <xs:element name="SalesOfProductsDiscontinuedOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SalesOfProductsDiscontinuedOperationsAbstract"/>
  <xs:element name="UnlabeledAbstract31" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract31"/>
  <xs:element name="UnlabeledAbstract32" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract32"/>
  <xs:element name="UnlabeledAbstract33" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract33"/>
  <xs:element name="UnlabeledAbstract34" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract34"/>
  <xs:element name="UnlabeledAbstract35" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract35"/>
  <xs:element name="UnlabeledAbstract36" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract36"/>
  <xs:element name="UnlabeledAbstract37" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract37"/>
  <xs:element name="UnlabeledAbstract38" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract38"/>
  <xs:element name="UnlabeledAbstract39" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract39"/>
  <xs:element name="UnlabeledAbstract40" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract40"/>
  <xs:element name="UnlabeledAbstract41" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract41"/>
  <xs:element name="UnlabeledAbstract42" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract42"/>
  <xs:element name="UnlabeledAbstract43" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract43"/>
  <xs:element name="UnlabeledAbstract44" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract44"/>
  <xs:element name="FederalAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FederalAbstract"/>
  <xs:element name="UnlabeledAbstract45" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract45"/>
  <xs:element name="UnlabeledAbstract46" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract46"/>
  <xs:element name="StateAndLocalAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_StateAndLocalAbstract"/>
  <xs:element name="UnlabeledAbstract47" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract47"/>
  <xs:element name="UnlabeledAbstract48" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract48"/>
  <xs:element name="UnlabeledAbstract49" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract49"/>
  <xs:element name="UnlabeledAbstract50" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract50"/>
  <xs:element name="UnlabeledAbstract51" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract51"/>
  <xs:element name="UnlabeledAbstract52" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract52"/>
  <xs:element name="UnlabeledAbstract53" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_UnlabeledAbstract53"/>
  <xs:element name="WeightedAverageSharesOutstandingBasicAndDiluted" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_WeightedAverageSharesOutstandingBasicAndDiluted"/>
  <xs:element name="IncomeLossPerShareFromContinuingOperationsBasicAndDiluted" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_IncomeLossPerShareFromContinuingOperationsBasicAndDiluted"/>
  <xs:element name="IncomeLossPerShareFromDiscontinuedOperationsBasicAndDiluted" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_IncomeLossPerShareFromDiscontinuedOperationsBasicAndDiluted"/>
  <xs:element name="NetIncomePerShareBasicAndDiluted" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetIncomePerShareBasicAndDiluted"/>
  <xs:element name="NonCashFinancingActivitiesEquityAwardsIssued" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
  <xs:element name="NonCashFinancingActivitiesEquityAwardsAccrued" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
  <xs:element name="NonCashInvestingActivitiesAccruedCapitalExpenditures" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
  <xs:element name="StockSplitPolicyPolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_StockSplitPolicyPolicyTextBlock"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
  <xs:element name="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <xs:element name="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems"/>
  <xs:element name="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <xs:element name="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
  <xs:element name="ForwardPurchaseContractsAsset" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsAsset"/>
  <xs:element name="InvestmentInCooperativeFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_InvestmentInCooperativeFairValueDisclosure"/>
  <xs:element name="ForwardPurchaseContractsLiability" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsLiability"/>
  <xs:element name="CommodityContractLiabilityCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_CommodityContractLiabilityCurrent"/>
  <xs:element name="CommodityFutures" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_CommodityFutures"/>
  <xs:element name="ForwardPurchaseContracts" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContracts"/>
  <xs:element name="LEASESDetailsScheduleofFutureMinimumRentalPaymentsforOperatingLeasesFY2021Table" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_LEASESDetailsScheduleofFutureMinimumRentalPaymentsforOperatingLeasesFY2021Table"/>
  <xs:element name="LEASESDetailsScheduleofFutureMinimumRentalPaymentsforOperatingLeasesFY2021LineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LEASESDetailsScheduleofFutureMinimumRentalPaymentsforOperatingLeasesFY2021LineItems"/>
  <xs:element name="PresentValueDiscount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_PresentValueDiscount"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTermsInYears" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTermsInYears"/>
  <xs:element name="DeferredTaxLiabilitiesBasisInPassThroughEntitiesIncludingDepreciation" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_DeferredTaxLiabilitiesBasisInPassThroughEntitiesIncludingDepreciation"/>
  <xs:element name="EffectiveIncomeTaxReconciliationUncertainTaxPosition" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_EffectiveIncomeTaxReconciliationUncertainTaxPosition"/>
  <xs:element name="BasicAndDilutedNetlossIncomePerShareAttributableToREXCommonShareholdersin" type="dtr:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BasicAndDilutedNetlossIncomePerShareAttributableToREXCommonShareholdersin"/>
  <xs:element name="BasicAndDilutedNetlossIncomePerShareAttributableToREXCommonShareholdersd" type="dtr:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BasicAndDilutedNetlossIncomePerShareAttributableToREXCommonShareholdersd"/>
  <xs:element name="BasicAndDilutedNetlossIncomePerShareAttributableToREXCommonShareholdersc" type="dtr:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BasicAndDilutedNetlossIncomePerShareAttributableToREXCommonShareholdersc"/>
  <xs:element name="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsTable"/>
  <xs:element name="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetailsLineItems"/>
  <xs:element name="NumberOfOperatingEntities" type="xbrli:pureItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NumberOfOperatingEntities"/>
  <xs:element name="ConcentrationRiskNumberOfCustomers" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ConcentrationRiskNumberOfCustomers"/>
  <xs:element name="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
  <xs:element name="OutboundFreightCharges" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_OutboundFreightCharges"/>
  <xs:element name="INVESTMENTSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_INVESTMENTSDetailsTable"/>
  <xs:element name="INVESTMENTSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_INVESTMENTSDetailsLineItems"/>
  <xs:element name="QuantityOfEthanolShipped" type="dtr:volumeItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfEthanolShipped"/>
  <xs:element name="ProportionateShareOfRestrictedNetAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ProportionateShareOfRestrictedNetAssets"/>
  <xs:element name="StockRepurchaseProgramNumberOfAdditionalSharesAuthorizedToBeRepurchased" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_StockRepurchaseProgramNumberOfAdditionalSharesAuthorizedToBeRepurchased"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsTable"/>
  <xs:element name="DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsLineItems"/>
  <xs:element name="CommodityFuturesQuantity" type="dtr:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_CommodityFuturesQuantity"/>
  <xs:element name="ForwardPurchaseContractsQuantity" type="dtr:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsQuantity"/>
  <xs:element name="EMPLOYEEBENEFITSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_EMPLOYEEBENEFITSDetailsTable"/>
  <xs:element name="EMPLOYEEBENEFITSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EMPLOYEEBENEFITSDetailsLineItems"/>
  <xs:element name="PropertySubjectToOrAvailableForOperatingLease_Domain" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_PropertySubjectToOrAvailableForOperatingLease_Domain"/>
  <xs:element name="COMMITMENTSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_COMMITMENTSDetailsTable"/>
  <xs:element name="COMMITMENTSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_COMMITMENTSDetailsLineItems"/>
  <xs:element name="QuantityOfNaturalGasUnderSalesCommitmen" type="dtr:energyItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfNaturalGasUnderSalesCommitmen"/>
  <xs:element name="QuantityOfEthanolUnderSalesCommitment" type="dtr:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfEthanolUnderSalesCommitment"/>
  <xs:element name="QuantityOfDistillersGrainsUnderSalesCommitment" type="dtr:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
  <xs:element name="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" type="dtr:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
  <xs:element name="LeaseExpirationPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LeaseExpirationPeriod"/>
  <xs:element name="InstallmentAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_InstallmentAmount"/>
  <xs:element name="FeesIncurredBySubsidiary" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_FeesIncurredBySubsidiary"/>
  <xs:element name="UnrecognizedTaxBenefitsWithoutAccruedPenaltiesAndInterest" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_UnrecognizedTaxBenefitsWithoutAccruedPenaltiesAndInterest"/>
  <xs:element name="IncreaseDecreaseInProvisionForIncomeTaxes" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_IncreaseDecreaseInProvisionForIncomeTaxes"/>
  <xs:element name="RELATEDPARTIESDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_RELATEDPARTIESDetailsTable"/>
  <xs:element name="RELATEDPARTIESDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RELATEDPARTIESDetailsLineItems"/>
  <xs:element name="BigRiverMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BigRiverMember"/>
  <xs:element name="ContractsNotAccountedForUnderNormalPurchasesAndNormalSalesMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ContractsNotAccountedForUnderNormalPurchasesAndNormalSalesMember"/>
  <xs:element name="CornMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CornMember"/>
  <xs:element name="DerivativeFinancialInstrumentLossesMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DerivativeFinancialInstrumentLossesMember"/>
  <xs:element name="DistillersGrainsMarketingServicesMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DistillersGrainsMarketingServicesMember"/>
  <xs:element name="DriedDistillersGrainsMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DriedDistillersGrainsMember"/>
  <xs:element name="EthanolMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EthanolMember"/>
  <xs:element name="FixturesAndEquipmentMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FixturesAndEquipmentMember"/>
  <xs:element name="ModifiedDistillersGrainsMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ModifiedDistillersGrainsMember"/>
  <xs:element name="NaturalGasPipelineMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NaturalGasPipelineMember"/>
  <xs:element name="NonFoodGradeCornOilMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NonFoodGradeCornOilMember"/>
  <xs:element name="OneEarthEnergyAndNuGenEnergyMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OneEarthEnergyAndNuGenEnergyMember"/>
  <xs:element name="OneEarthEnergyMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OneEarthEnergyMember"/>
  <xs:element name="OtherMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OtherMember"/>
  <xs:element name="RefinedCoalMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RefinedCoalMember"/>
  <xs:element name="RenewalMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RenewalMember"/>
  <xs:element name="StockOptionPlans2015Member" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_StockOptionPlans2015Member"/>
  <xs:element name="DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DocumentAndEntityInformationAbstract"/>
</xs:schema>
