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