Adding new line and encoding infomation while creating XML/XBRL with ElementTree/Python

Posted on Tue 10 July 2012 in XBRL • Tagged with elementTree, ElementTree/Python, encoding, new line, ProcessingInstruction, python, xbrl, xbrl creationLeave a comment

I am making xbrl files with python ElementTree/python module. But there is a problem while creating an xbrl file. It writes it into a single line, which creates confusion a lot.

So i have tried to modified the native ElementTree class which writes a xml  part. In windows it ...

Continue reading

My first AI game of Credit/Debit

Posted on Wed 21 March 2012 in XBRL • Tagged with AI, credit/debit, NLTK, python, xbrlLeave a comment

I have created a game in python using Natural language Toolkit which is a library in python for processing of language.

I have used US GAAP 2011 taxonomy as base database, which later will be utilized to understand the meaning of input. SQLite will support me in doing that.

Results ...

Continue reading

SEC proposed to submit PYTHON code for ABS deals

Posted on Tue 24 January 2012 in XBRL • Tagged with asset backed securities, python code, SEC, xbrlLeave a comment

Last night i was surprised  when i found that sec.gov has proposed(in 2010) a law for more regulation and transparency in disclosures for asset backed securities.

But this was not submitting an XBRL or XML source, it is a python code.

here are some lines which might create ...

Continue reading