elifesciences / elife-tools

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

Parse version_doi from article-id tags. #411

Closed gnott closed 1 year ago

gnott commented 1 year ago

Re issue https://github.com/elifesciences/issues/issues/7953

An <article-id> tag in the <article-meta> will hold a version DOI. Changes to the raw parser and JATS parser look for the attribute @specific-use="version" for this value. The existing function arguments should be backwards compatible for most uses, at least in the case of eLife, and hopefully for most non-eLife XML files.