XML 70 R65.htm IDEA: XBRL DOCUMENT
v2.4.0.8

LEASES (Details) (USD $) | 12 Months Ended
--- | ---
Jan. 31, 2014 | Jan. 31, 2013 | Jan. 31, 2012
Leases [Abstract] |  |  |
Number of Owned Properties Subject to Operating Lease | 4 |  |
Operating Leases, Income Statement, Minimum Lease Revenue | $ 466,000 | $ 472,000 | $ 244,000

X
- Definition Number of owned properties subject to operating lease. + References No definition available. + Details
Name: | rex_NumberOfOwnedPropertiesSubjectToOperatingLease
Namespace Prefix: | rex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition The total amount of lease revenue recognized for the period for which the lessee was obligated under leasing arrangements regardless of any other events or conditions. This amount excludes contingent revenue and sublease revenue. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=7501430&loc=d3e39896-112707 + Details
Name: | us-gaap_OperatingLeasesIncomeStatementMinimumLeaseRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration