How can I determine the quarter and year from XML-tags of xbrl file for which it is written.
I can see that context element has period tag which has the time period for the context element :
<context id="AsOf20050603_Consol_Unaudited">
<entity>
<identifier scheme="http://www.sec.gov/CIK">796343</identifier>
</entity>
<period>
<instant>2005-06-03</instant>
</period>
</context>
<context id="From20031129-To20040604_Consol_Unaudited">
<entity>
<identifier scheme="http://www.sec.gov/CIK">796343</identifier>
</entity>
<period>
<startDate>2003-11-29</startDate>
<endDate>2004-06-04</endDate>
</period>
</context>
How can I get the time period and year at document level. Thank you
You want the time period and year at the document level - here they are:
The EDGAR Filer Manual, in section 6.5.21, defines certain mandated "dei" fields that define 1) The company's fiscal year end (CurrentFiscalYearEndDate) 2) The current fiscal year (DocumentFiscalYearFocus) 3) whather it is a Q1, Q2, Q3, "Q4" or CY (DocumentFiscalPeriodFocus) 4) and the document period end date (DocumentPeriodEndDate)
--01-31Q220132013-07-31
This should provide what you need unambiguously.