XML 68 R59.htm IDEA: XBRL DOCUMENT
v2.4.0.8

SYNTHETIC FUEL LIMITED PARTNERSHIPS (Details) (USD $) | 12 Months Ended
--- | ---
Jan. 31, 2014 | Jan. 31, 2013 | Jan. 31, 2012 | Jan. 31, 2006
Partners' Capital Notes [Abstract] |  |  |  |
Eligible Receivable Per Ton of Qualified Production (in Dollars per US Ton) |  |  |  | 1.50
Proceeds from Divestiture of Businesses | $ 0 | $ 0 | $ 2,900,000 |

X
- Definition Eligible receivable per ton of qualified production. + References No definition available. + Details
Name: | rex_EligibleReceivablePerTonOfQualifiedProduction
Namespace Prefix: | rex_
Data Type: | us-types:perUnitItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PartnersCapitalNotesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow associated with the amount received from the sale of a portion of the company's business, for example a segment, division, branch or other business, during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromDivestitureOfBusinesses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration