I am looking into xbrl files and I need to extract certain data from each of them however, I can't find much information on the existing python-xbrl library, perhaps someone in here has an experience with it?
Here's an xbrl file example
Any ideas/solutions on how to parse a certain field and get it's value?
or maybe I should implement my own parser using "re"?
I did this now though just to test it out ...
xmlContent = (requests.get("http://regnskaber.virk.dk/14502803/eGJybHN0b3JlOi8vWC1GMDk4RkNDNi0yMDE0MTIzMV8wOTE2MjFfMDk1L3hicmw.xml").content) print "Date: " +re.findall(r">(.+)<", re.findall(r"gsd:ReportingPeriodStartDate.+", xmlContent))
and it works though I am not sure how efficient it is because I need to parse thousands of documents
Thanks in advance =]