elifesciences / elife-tools

Python library for parsing eLife article XML data.
MIT License
15 stars 7 forks source link

footnotes_json() parses content from IJM articles. #373

Closed gnott closed 2 years ago

gnott commented 2 years ago

Re issue https://github.com/microsimulation/ijm/issues/136

For IJM journal, to display footnote content in the article JSON, this function footnotes_json() will select particular <fn> tag content in the <back>, and ignore content inside <fn-group> tags which have an @content-type attribute, and ignore <fn-group> tags inside a <table-wrap-foot> tag.