aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-05 18:42:43 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-05 18:42:43 -0800
commit9a944bfb6d994fe2f6865c5b9117920ed99cc5f1 (patch)
tree40d30f8d60ce57bc1030e295c0b6cb498ab2465a /python/tests
parentdcdebd34883d1a3afa568acea5ebc30842cda538 (diff)
downloadfatcat-9a944bfb6d994fe2f6865c5b9117920ed99cc5f1.tar.gz
fatcat-9a944bfb6d994fe2f6865c5b9117920ed99cc5f1.zip
basic JSTOR XML parser
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/files/jstor-article-10.2307_111039.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/python/tests/files/jstor-article-10.2307_111039.xml b/python/tests/files/jstor-article-10.2307_111039.xml
new file mode 100644
index 00000000..1a4c760d
--- /dev/null
+++ b/python/tests/files/jstor-article-10.2307_111039.xml
@@ -0,0 +1,58 @@
+<article xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ dtd-version="1.0"
+ article-type="research-article">
+ <front>
+ <journal-meta>
+ <journal-id journal-id-type="jstor">abstpapecommroya</journal-id>
+ <journal-id journal-id-type="jstor">j100687</journal-id>
+ <journal-title-group>
+ <journal-title>Abstracts of the Papers Communicated to the Royal Society of London</journal-title>
+ </journal-title-group>
+ <publisher>
+ <publisher-name>The Royal Society</publisher-name>
+ </publisher>
+ <issn pub-type="ppub">03650855</issn>
+ </journal-meta>
+ <article-meta>
+ <article-id pub-id-type="jstor">111039</article-id>
+ <title-group>
+ <article-title>On the Universal Law of Attraction, Including that of Gravitation, as a Particular Case of Approximation Deducible from the Principle that Equal and Similar Particles of Matter Move Similarly, Relatively to Each other. [Abstract]</article-title>
+ </title-group>
+ <contrib-group>
+ <contrib contrib-type="author">
+ <string-name>
+ <given-names>John Kinnersley</given-names>
+ <surname>Smythies</surname>
+ </string-name>
+ </contrib>
+ </contrib-group>
+ <pub-date>
+ <day>1</day>
+ <month>1</month>
+ <year>1843</year>
+
+ <day>1</day>
+ <month>1</month>
+ <year>1850</year>
+ </pub-date>
+ <volume>5</volume>
+ <issue/>
+ <issue-id>i207047</issue-id>
+ <fpage>831</fpage>
+ <lpage>832</lpage>
+ <page-range>831-832</page-range>
+ <permissions>
+ <copyright-statement/>
+ </permissions>
+ <self-uri xlink:href="http://www.jstor.org/stable/111039"/>
+ <custom-meta-group>
+ <custom-meta>
+ <meta-name>lang</meta-name>
+ <meta-value>eng</meta-value>
+ </custom-meta>
+ </custom-meta-group>
+ </article-meta>
+ </front>
+</article>