UNPKG

dtdanalyzer

Version:

A tool for analyzing and manipulating DTDs

227 lines (223 loc) 7.79 kB
<?xml version="1.0" ?> <!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/archiving/3.0/archivearticle3.dtd"> <article dtd-version="3.0" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- SYSTEM: Archiving and Interchange DTD Suite --> <!-- Updated July 2007 An archival journal article with minimal Front Matter, Sections, a Table, and Citations for testing --> <!-- =============== Front Matter (Metadata) =========== --> <front> <journal-meta> <journal-id>MRKP</journal-id> <journal-title-group> <journal-title>Markup Languages: Theory and Practice</journal-title> <journal-title>Markup Languages</journal-title> <journal-subtitle>Old Facefull</journal-subtitle> <journal-subtitle>The would-be That Was</journal-subtitle> </journal-title-group> <issn>good question</issn> <publisher><publisher-name>MIT Press, on occasion</publisher-name> </publisher> </journal-meta> <article-meta> <article-id pub-id-type="publisher-id">ArchivalTest1</article-id> <article-categories> <subj-group subj-group-type="keywords"> <subject>Biological Sciences</subject> <subj-group subj-group-type="keywords"> <subject>Neuroscience</subject> <subj-group subj-group-type="keywords"> <subject>Cellular and Molecular Biology</subject> <subj-group subj-group-type="keywords"> <subject>Blood&ndash;brain barrier</subject> </subj-group> </subj-group> </subj-group> </subj-group> </article-categories> <title-group> <article-title>Archival DTD Test Article<chem-struct> chem chem</chem-struct></article-title> <subtitle>(Just a small subtitle for parsing)<chem-struct> chem chem</chem-struct></subtitle> </title-group> <contrib-group> <contrib> <name><surname>Jones</surname> <given-names>John Browning</given-names> <prefix>The Honorable</prefix><suffix>III</suffix> </name> </contrib> <contrib> <string-name>Prince Charles</string-name> </contrib> <etal/> </contrib-group> <pub-date><year>2004</year></pub-date> <fpage>23</fpage> <permissions> <copyright-year>2004-2005</copyright-year> </permissions> <kwd-group kwd-group-type="author-generated"> <unstructured-kwd-group>XML, DTD, schema, RELAXNG, XSD, models, UML, Schematron</unstructured-kwd-group> </kwd-group> <kwd-group kwd-group-type="author-generated"> <kwd>acid precipitation</kwd> <kwd>acid rainfall</kwd> <kwd>forest ecosystem</kwd> <kwd>smelting region</kwd> <kwd>Aluminum residues</kwd> <kwd>Sulphur dioxide</kwd> <kwd>Copper-nickle smelters</kwd> </kwd-group> <kwd-group> <unstructured-kwd-group>molecular chaperones; surface plasmon resonance; dynamic light scattering; trypsin digestion; citrate synthase; <italic>Neurospora crassa</italic>; prot&eacute;ines chaperonnes, r&eacute;sonance des plasmons de surface; diffusion dynamique de la lumi&egrave;re; digestion par la trypsine; citrate synthase; <italic>Neurospora crassa</italic></unstructured-kwd-group> </kwd-group> <kwd-group> <compound-kwd> <compound-kwd-part content-type="ISO-463-code">863</compound-kwd-part> <compound-kwd-part content-type="ISO-463-text">Icelandic sagas</compound-kwd-part> </compound-kwd> </kwd-group> <kwd-group kwd-group-type="abbreviations"> <compound-kwd> <compound-kwd-part content-type="abbrev">WT</compound-kwd-part> <compound-kwd-part content-type="expansion">WildType</compound-kwd-part> </compound-kwd> <compound-kwd> <compound-kwd-part content-type="abbrev">CFU</compound-kwd-part> <compound-kwd-part content-type="expansion">Colony-forming unit</compound-kwd-part> </compound-kwd> </kwd-group> <kwd-group kwd-group-type="topical"> <compound-kwd> <compound-kwd-part content-type="level1">Biological Sciences</compound-kwd-part> <compound-kwd-part content-type="level2">Neuroscience</compound-kwd-part> <compound-kwd-part content-type="level3">Cellular and Molecular Biology</compound-kwd-part> <compound-kwd-part content-type="level4">Blood&ndash;brain barrier</compound-kwd-part> </compound-kwd> </kwd-group> </article-meta> </front> <!-- =============== Body Matter (Content) =========== --> <body> <p>This is a list inside a paragraph: <list list-type="order" prefix-word="Test"> <list-item><label>1.</label><p>Poodles</p></list-item> <list-item><label>2.</label><p>Persian Cats</p></list-item> <list-item><label>3.</label><p>Weaver Finches</p></list-item> <list-item><label>4.</label><p>Gechos</p></list-item> </list> </p> <p>This following is an XHTML table, inside a Table Wrapper %lt;table-wrap&gt; wrapper.</p> <!-- AN XHTML Table for testing --> <table-wrap id="table-wrap-XHTML" position="anchor"> <label>Table 1</label> <caption><title>XHTML Table</title> <p>Additional caption material</p> </caption> <table> <tbody> <tr> <td>A cell!</td> <td>Another</td> <td>Still a third&gt; with a <chem-struct> chem chem</chem-struct></td> </tr> <tr> <td>2 A cell!</td> <td>An xref: <xref ref-type="statement" rid="statement16">See the statement</xref></td> <td>2 Still a third&gt;</td> </tr> </tbody> </table> </table-wrap> <sec sec-type="methods"> <title>There be statements here <chem-struct>a + b</chem-struct></title> <statement id="statement11"> <p>The IDREFs need to point to something</p> </statement> <statement id="statement15"> <p>No Matter How Wise You Get, Wet Birds Don't Fly at Night</p> </statement> <statement id="statement16"> <p>Post Hoc Propter Ergo Hoc</p> </statement> <sec> <title>There be <inline-formula>a + b</inline-formula> complex titles here.</title> <p>The big ones fall hard.</p> <p>Fish heads, eat them in the soup.</p> <sec> <title>There be &lt;chem-struct>a + b&lt;/chem-struct> complex titles here.</title> <p>Grandma got run over by a reindeer.</p> <p>I love to go a wandering, along the mountain track.</p> </sec> </sec> </sec> </body> <!-- =============== Back Matter (Ancillary) ======= --> <back> <ack><p>We thank you all.</p></ack> <glossary><title>Glossary</title> <def-list> <title>Def-List Title</title> <def-item> <term>Term</term> <def><p>Definition</p></def></def-item> <def-item> <term>Second Term</term> <def><p>And another definition</p></def></def-item> </def-list> <glossary> <related-article related-article-type="fake">Some words maybe including a <uri>http://www.thedog.com</uri> or <email>thedog@poodle.com</email> </related-article> <def-list> <title>Def-List Title</title> <def-item><label>Step 1</label> <term>First Term</term> <def><p>And its definition</p></def></def-item> <def-item><label>Step 2</label> <term>The Second Term</term> <def><p>Still another definition</p></def></def-item> </def-list> </glossary> </glossary> <ref-list> <title>Bibliography</title> <p>Just a reference or two for testing:</p> <ref> <mixed-citation>A citation ain't nothing but a sandwich &mdash; personal communication </mixed-citation> </ref> <ref> <mixed-citation> <name> <surname>Piggy</surname> <prefix>Ms.</prefix></name> <article-title>Can't Help Lovin&rsquo; That Frog of Mine</article-title>; <source>Swine Review</source>, <issue>145</issue>: <fpage>12</fpage>&ndash;<lpage>24</lpage>; <year>2003</year>. <trans-title xml:lang="cpe">Ant-cay Elp-hay Ovin&rsquo;-lay At-thay Og-fray of-ay Ine-may</trans-title> </mixed-citation> </ref> </ref-list> </back> </article>