+ All Categories
Home > Documents > PMC Tagging Guidelines

PMC Tagging Guidelines

Date post: 23-Feb-2016
Category:
Upload: daryl
View: 62 times
Download: 0 times
Share this document with a friend
Description:
PMC Tagging Guidelines. A case study in normalization. Abigail Elbow, Breena Krick, Laura Kelly NIH/NLM/NCBI/PMC JATS-Con | 9.27.2011. PMC Overview. But first…. What do those people do with data, anyway?. The PMC process:. 35 schemas Validate against declared DTD - PowerPoint PPT Presentation
19
PMC Tagging Guidelines A case study in normalization Abigail Elbow, Breena Krick, Laura Kell NIH/NLM/NCBI/PM JATS-Con | 9.27.201
Transcript
Page 1: PMC Tagging Guidelines

PMC Tagging GuidelinesA case study in normalization

Abigail Elbow, Breena Krick, Laura Kelly NIH/NLM/NCBI/PMCJATS-Con | 9.27.2011

Page 2: PMC Tagging Guidelines

PMC OverviewWhat do those people do with data, anyway?

But first…

Page 3: PMC Tagging Guidelines

The PMC process:•35 schemas•Validate against declared DTD•Transform into JATS XML (Green

Archiving DTD)•Check validity•Run Style Checker•Load to PMC database

Page 4: PMC Tagging Guidelines

What’s that look like?

Page 5: PMC Tagging Guidelines

Q: Why have a style checker?A: PMC is simply a user of the JATS / NLM DTDs

Page 6: PMC Tagging Guidelines

Can you be more specific?•More than one way to tag a structure•Need for normalization•Start with the basic & most inconsistently-

tagged:▫Article metadata▫Figures▫Tables

•RelaxNG schema used first•Replaced with XSL stylesheets

▫Allow flexibility, reporting, and varying file output

Page 7: PMC Tagging Guidelines

Q: So how does anyone know how to tag in PMC style?A: The PMC Tagging Guidelines…

Page 8: PMC Tagging Guidelines

The Tagging Guidelines•HTML prose form of the style rules•General Tagging Practice, Document

Objects, Elements•Introduction and Update History•XML backbone•Covers PMC, NIHMS, and Bookshelf•Covers both 2.3 and 3.0

Page 9: PMC Tagging Guidelines

Tagging Guideline XML: @version

Page 10: PMC Tagging Guidelines

Tagging Guideline HTML

Page 11: PMC Tagging Guidelines

Tagging Guidelines: an element

Page 12: PMC Tagging Guidelines

Q: How do I know if my file is compliant?A: The PMC Style Checker

Page 13: PMC Tagging Guidelines

Five common style errors•MathML• <related-article> tagging•<xref> and @ref-type•DOIs•Empty elements

Demo time:http://www.pubmedcentral.nih.gov/utils/style_checker/stylechecker.cgi

Page 14: PMC Tagging Guidelines

Q: What if I have lots of files?A: NLM Style Checker stylesheets (v4.3.4)

Page 15: PMC Tagging Guidelines

The Style Checker Stylesheets•Main file: nlm-stylechecker.xsl•It xsl:include(s):

▫stylecheck-match-templates.xsl▫stylecheck-named-tests.xsl▫stylecheck-helper-templates.xsl

•Reports: style-reporter.xsl▫Generates an HTML Error/Warning

report

Page 16: PMC Tagging Guidelines

badstyle.XML

Page 17: PMC Tagging Guidelines

Another report view: (PMC Production)

Page 18: PMC Tagging Guidelines

Special thanks

•Laura Kelly•Breena Krick•Jeff Beck

Page 19: PMC Tagging Guidelines

Resources:• PMC Tagging Guidelines:

▫ http://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/article/style.html

• PMC Online Style Checker:▫ http://www.pubmedcentral.nih.gov/utils/style_checker/stylechecker.cgi

• Downloadable Style Checker stylesheets and instructions:▫ http://

www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/stylechecker/stylecheck-README.html

• PMC Utilities:▫ http://www.ncbi.nlm.nih.gov/pmc/pub/validation/

• Tagging Guidelines email list:▫ http://www.ncbi.nlm.nih.gov/mailman/listinfo/pmc-tagging-guideline

s


Recommended