-1

I have worked on JAXB parsing with a simple XML file, but with my new project I have an XBRL file which is used for business record and that needs to parse. Is there any parsing technique for XBRL files? Any help would be appreciated!

Ghislain Fourny
  • 6,971
  • 1
  • 30
  • 37

2 Answers2

1

XBRL is more than just an XML file. See my explanation in https://stackoverflow.com/a/38395549/2124628. Basically, it's a very large exercise to write an XBRL parser: You'd need to start with a parsing the XSD, Xlink and linkbase resources before you can even start parsing an XBRL file.

As I recommended in the other post: try leveraging an existing product, it's probably worth the investment.

Community
  • 1
  • 1
DdW
  • 890
  • 1
  • 18
  • 30
1

there is a python package which parses XBRL

https://github.com/greedo/python-xbrl/

zhibo
  • 371
  • 2
  • 7