plazi / treatmentBank

Repository devoted to house keeping of treatmentBank
0 stars 0 forks source link

tag structure #44

Open punkish opened 2 years ago

punkish commented 2 years ago

@gsautter this is possibly a stupid question, but has the structure of the bibRefCitation tag changed? Is the following the correct structure for the tag?

<bibRefCitation id="75ECFE935FC03D66BBD3D34DB28684E7" 
    author="Hinojosa-Diaz, I A" 
    journalOrPublisher="Journal of Hymenoptera Research" 
    pageId="0" 
    pageNumber="6733" 
    pagination="69 - 77" 
    title="The North American Invasion of the Giant Resin Bee (Hymenoptera: Megachilidae)" 
    volume="14" 
    year="2005">

My records show the tag to have a refString and a type attribute, but my info seems to be wrong now.

Is there a canonical list of all the tags and all their attributes that I can use as a reference?

Thanks

punkish commented 2 years ago

ok, it seems that if a bibRefCitation tag is inside a treatmentCitation tag then it looks like so

<treatmentCitation id="090F108FD744DE1FE9578BF6FE0CDD70" 
    author="" 
    page="42" 
    pageId="3" 
    pageNumber="128">
        <bibRefCitation id="EC3F4B6FD744DE1FE9578BF6FE2BDD73" 
            pageId="3" 
            pageNumber="128" 
            refId="ref7832" 
            refString="Muma, M. H. (1953) A study of the spider family Selenopidae in North and Central America and the west Indies. American Museum Novitates, 1619, 1 - 55." 
            type="journal article">Muma, 1953</bibRefCitation>
: 42
</treatmentCitation>

so, I have to differentiate between the bibRefCitation tags that are inside treatmentCitation tags and those that are not. Right?

gsautter commented 2 years ago

It might have changed (been extended) at some point, but most definitely not very recently (would say not since 2018) ...

The treatmentCitation doesn't have any influence on a nested bibRefCitation, it only copies certain attributes.

gsautter commented 2 years ago

Regarding the specimentCount attributes of materialsCitations, it always was specimenCount-female, never specimenCountFemale ... the -female part is sort of a qualifier added to specimenCount, and that's what I tend to use dashes for, whereas standing multi-word terms like "specimen count" get concatenated camelCase into, in this instance, specimenCount.