[jats-list] how to identify a XML file as JATS

Subject: [jats-list] how to identify a XML file as JATS
From: Matteo Gamboz <gamboz@xxxxxxxxxxxxxxxxx>
Date: Tue, 24 Sep 2013 17:34:13 +0200
Hi all,
  I'm a bit new to XML and was wandering how to best identify a
certain XML file as implementing JATS.

At the moment I'm using this document type declaration:

<!DOCTYPE article PUBLIC
 "Journal Archiving and Interchange Tag Library NISO JATS version 1.0"
 "http://jats.nlm.nih.gov/archiving/1.0/JATS-archivearticle1.dtd";>

Since I prefer to validate against RNG schema, I tried to substitute
the link above with:
http://jats.nlm.nih.gov/archiving/1.0/rng/JATS-archivearticle1.rng

But then I end up with validation errors on the linked rng file (using
"jing" and "xmllint", but not with "emacs" (which doesnt seem to test
it anyway)).

I'm not even sure wheter DOCTYPE is the best option here.

Could anyone point me in the right direction?

Thanks
m

Current Thread