Giter Site home page Giter Site logo

Comments (5)

tcatapano avatar tcatapano commented on June 19, 2024 1

Another, perhaps better, solution for the treatment itself is to put its UUID in a treatment-meta section.
For other elements, appending the PWT UUID to the element's id attribute is probably best

from taxpub.

teodorgeorgiev avatar teodorgeorgiev commented on June 19, 2024

OpenBiodiv generates UUID's to various elements in the XML. The list is still growing but at the moment it encompasses the following XML elements:

title: /article/front/article-meta/title-group/article-title
abstract: /article/front/article-meta/abstract
front_matter: /article/front
figures: /article/floats-group//fig
plates: /article/floats-group/fig-group
tables: /article/floats-group/table-wrap
reference_list: /article/back/ref-list
reference: /article/back/ref-list/ref
back_matter: /article/back
acknowledgement: /article/back/ack
body: /article/body
treatment: /article/body/sec/tp:taxon-treatment
nomenclature_heading: /article/body//tp:taxon-treatment/tp:nomenclature
nomenclature_citation_list: /article/body//tp:taxon-treatment/tp:nomenclature/tp:nomenclature-citation-list
treatment_section: /article/body/tp:taxon-treatment/tp:treatment-sec
sec: .//sec
captions: .//caption
authors: /article/front/article-meta/contrib-group/contrib
paper_type: /article/front/article-meta/article-categories/subj-group[@subj-group-type='heading']
taxon_classification: /article/front/article-meta/article-categories/subj-group[@subj-group-type='Taxon classification']
subject_classification: /article/front/article-meta/article-categories/subj-group[@subj-group-type='Subject classification']
geographic_classification: /article/front/article-meta/article-categories/subj-group[@subj-group-type='Geographical classification']
zookeys_keywords: /article/front/article-meta/kwd-group
taxonomic_name_usage: .//tp:taxon-name
named-content[@content-type='dwc:institutional_code']

To avoid data duplication if the XML is to be regenerated, the PWT process needs to generate these IDs.
We need to have a connection between Instance ID and UUID. They must appear in PREVIEW and a "modified" NLM must be available where the ID's have the attribute "obkms_id". However, they need to be hidden before submission to NLM.

File-Based process: upon generation of the preview, check the elements (whether they have ID) and then generate ID.

from taxpub.

tcatapano avatar tcatapano commented on June 19, 2024

possible solution: append UUID to existing id value, with or without a delimiter (e.g., underscore). This will insure uniqueness of the id, is opaque and innocuous to outside users, but enables local semantics

from taxpub.

teodorgeorgiev avatar teodorgeorgiev commented on June 19, 2024

or probably can use

from taxpub.

tcatapano avatar tcatapano commented on June 19, 2024

See also <object-id> https://jats.nlm.nih.gov/publishing/tag-library/1.3/element/object-id.html when permitted

from taxpub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.