Open ddgg opened 10 years ago
add self.ns['xbrldi'] in xbrl.py class constructor, seem like that company's filing miss the link
Adding this makes all the values turn to zero. What should I put the full prefix as?
self.ns['xbrldi'] = 'http://www.xbrl.org/2003/instance'
EDIT------------
self.ns['xbrldi'] = 'http://xbrl.org/2006/xbrldi'
Works like a charm after some digging.
I got an issue with 819793/0000891092-14-001589/ain-20131231.xml, I got an exception 'Undefined namespace prefix' at x.getNodeList("//xbrli:entity/xbrli:segment/xbrldi:explicitMember")
I don't have a lot experiences in lxml, can someone please help me to sovle this? thanks