Add test for primo-pz2.xsl
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 30 Oct 2014 08:30:18 +0000 (09:30 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 30 Oct 2014 08:30:18 +0000 (09:30 +0100)
etc/xsl/primo-pz21.res.xml [new file with mode: 0644]
etc/xsl/primo-pz21.xml [new file with mode: 0644]

diff --git a/etc/xsl/primo-pz21.res.xml b/etc/xsl/primo-pz21.res.xml
new file mode 100644 (file)
index 0000000..224dbbe
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pz:record xmlns:pz="http://www.indexdata.com/pazpar2/1.0" xmlns:tmarc="http://www.indexdata.com/turbomarc" xmlns:prim="http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib" xmlns:sear="http://www.exlibrisgroup.com/xsd/jaguar/search">
+  <pz:metadata type="id">TN_medline21455132</pz:metadata>
+  <pz:metadata type="medium">article</pz:metadata>
+  <pz:metadata type="debug_isarticle">false</pz:metadata>
+  <pz:metadata type="title">Welcome Nature Climate Change</pz:metadata>
+  <pz:metadata type="citation">Nature, 2011, Vol.471(7340), pp.548</pz:metadata>
+  <pz:metadata type="subject">Climate Change</pz:metadata>
+  <pz:metadata type="subject">Periodicals As Topic–Trends</pz:metadata>
+  <pz:metadata type="has-fulltext">no</pz:metadata>
+  <pz:metadata type="date">2011</pz:metadata>
+  <pz:metadata type="journal-month">1</pz:metadata>
+  <pz:metadata type="volume-number">471</pz:metadata>
+  <pz:metadata type="issue-number">7340</pz:metadata>
+  <pz:metadata type="pages-number">548</pz:metadata>
+  <pz:metadata type="issn">0028-0836</pz:metadata>
+  <pz:metadata type="journal-title">Nature</pz:metadata>
+  <pz:metadata type="electronic-url">http://sfx.dbc.dk/dbc_test?ctx_ver=Z39.88-2004&amp;ctx_enc=info:ofi/enc:UTF-8&amp;ctx_tim=2014-10-30T08%3A23%3A06IST&amp;url_ver=Z39.88-2004&amp;url_ctx_fmt=infofi/fmt:kev:mtx:ctx&amp;rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-medline&amp;rft_val_fmt=info:ofi/fmt:kev:mtx:journal&amp;rft.genre=article&amp;rft.atitle=Welcome%20Nature%20Climate%20Change.&amp;rft.jtitle=Nature&amp;rft.btitle=&amp;rft.aulast=&amp;rft.aufirst=&amp;rft.auinit=&amp;rft.auinit1=&amp;rft.auinitm=&amp;rft.ausuffix=&amp;rft.au=&amp;rft.aucorp=&amp;rft.date=20110331&amp;rft.volume=471&amp;rft.issue=7340&amp;rft.part=&amp;rft.quarter=&amp;rft.ssn=&amp;rft.spage=548&amp;rft.epage=&amp;rft.pages=548&amp;rft.artnum=&amp;rft.issn=0028-0836&amp;rft.eissn=1476-4687&amp;rft.isbn=&amp;rft.sici=&amp;rft.coden=&amp;rft_id=info:doi/10.1038/471548b&amp;rft.object_id=&amp;rft.eisbn=&amp;rft_dat=&lt;medline&gt;21455132&lt;/medline&gt;&amp;rft_id=info:oai/&amp;req.language=</pz:metadata>
+</pz:record>
diff --git a/etc/xsl/primo-pz21.xml b/etc/xsl/primo-pz21.xml
new file mode 100644 (file)
index 0000000..6c1f596
--- /dev/null
@@ -0,0 +1,114 @@
+<rec xmlns:sear="http://www.exlibrisgroup.com/xsd/jaguar/search" >
+<sear:DOC ID="100300675" RANK="0.0023275323" NO="2" SEARCH_ENGINE="PrimoCentralThirdNode" SEARCH_ENGINE_TYPE="Primo Central Search Engine" LOCAL="false">
+          <PrimoNMBib xmlns="http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib">
+            <record>
+              <control>
+                <sourcerecordid>21455132</sourcerecordid>
+                <sourceid>medline</sourceid>
+                <recordid>TN_medline21455132</recordid>
+                <sourceformat>XML</sourceformat>
+                <sourcesystem>Other</sourcesystem>
+              </control>
+              <display>
+                <type>article</type>
+                <title>Welcome Nature Climate Change</title>
+                <ispartof>Nature, 2011, Vol.471(7340), pp.548</ispartof>
+                <identifier><![CDATA[<b>ISSN:</b> 0028-0836 ; <b>E-ISSN:</b> 1476-4687 ; <b>PMID:</b> 21455132 Version:1  <b>DOI:</b> 10.1038/471548b]]></identifier>
+                <subject>Climate Change; Periodicals As Topic -- Trends</subject>
+                <language>eng</language>
+                <source>U.S. National Library of Medicine</source>
+                <lds50>peer_reviewed</lds50>
+                <version>6</version>
+              </display>
+              <links>
+                <openurl>$$Topenurl_article</openurl>
+                <backlink>$$Uhttp://pubmed.gov/21455132$$EView_this_record_in_National_Library_of_Medicine</backlink>
+                <openurlfulltext>$$Topenurlfull_article</openurlfulltext>
+                <addlink>$$Uhttp://exlibris-pub.s3.amazonaws.com/aboutMedline.html$$EView_the_National_Library_of_Medicine_Copyright_Statement</addlink>
+              </links>
+              <search>
+                <title>Welcome Nature Climate Change.</title>
+                <subject>Climate Change</subject>
+                <subject>Periodicals as Topic -- trends</subject>
+                <general>21455132</general>
+                <general>English</general>
+                <general>MEDLINE (NLM)</general>
+                <general>10.1038/471548b</general>
+                <sourceid>medline</sourceid>
+                <recordid>medline21455132</recordid>
+                <issn>14764687</issn>
+                <issn>1476-4687</issn>
+                <issn>00280836</issn>
+                <issn>0028-0836</issn>
+                <rsrctype>article</rsrctype>
+                <creationdate>2011</creationdate>
+                <addtitle>Nature</addtitle>
+                <searchscope>medline</searchscope>
+                <searchscope>nlm_medline</searchscope>
+                <searchscope>MEDLINE</searchscope>
+                <scope>medline</scope>
+                <scope>nlm_medline</scope>
+                <scope>MEDLINE</scope>
+              </search>
+              <sort>
+                <title>Welcome Nature Climate Change</title>
+                <creationdate>20110331</creationdate>
+              </sort>
+              <facets>
+                <frbrgroupid>8618240028923758146</frbrgroupid>
+                <frbrtype>5</frbrtype>
+                <language>eng</language>
+                <creationdate>2011</creationdate>
+                <topic>Climate Change</topic>
+                <topic>Periodicals As Topic–Trends</topic>
+                <collection>MEDLINE (NLM)</collection>
+                <prefilter>articles</prefilter>
+                <rsrctype>articles</rsrctype>
+                <jtitle>Nature</jtitle>
+                <toplevel>peer_reviewed</toplevel>
+              </facets>
+              <frbr>
+                <t>2</t>
+                <k1>2011</k1>
+                <k2>00280836</k2>
+                <k2>14764687</k2>
+                <k3>10.1038/471548b</k3>
+                <k4>471</k4>
+                <k5>7340</k5>
+                <k6>548</k6>
+                <k7>nature</k7>
+                <k8>welcome nature climate change</k8>
+                <k9>welcomenatureclimatehange</k9>
+                <k10>21455132</k10>
+                <k12>welcomenatureclimatechang</k12>
+              </frbr>
+              <delivery>
+                <delcategory>Remote Search Resource</delcategory>
+                <fulltext>fulltext</fulltext>
+              </delivery>
+              <ranking>
+                <booster1>1</booster1>
+                <booster2>1</booster2>
+                <pcg_type>aggregator</pcg_type>
+              </ranking>
+              <addata>
+                <atitle>Welcome Nature Climate Change.</atitle>
+                <jtitle>Nature</jtitle>
+                <date>20110331</date>
+                <risdate>20110331</risdate>
+                <volume>471</volume>
+                <issue>7340</issue>
+                <spage>548</spage>
+                <pages>548</pages>
+                <issn>0028-0836</issn>
+                <eissn>1476-4687</eissn>
+                <format>journal</format>
+                <genre>article</genre>
+                <ristype>JOUR</ristype>
+                <doi>10.1038/471548b</doi>
+                <pmid>21455132</pmid>
+              </addata>
+            </record>
+          </PrimoNMBib>
+        <sear:GETIT deliveryCategory="Remote Search Resource" GetIt1="http://sfx.dbc.dk/dbc_test?ctx_ver=Z39.88-2004&amp;ctx_enc=info:ofi/enc:UTF-8&amp;ctx_tim=2014-10-30T08%3A23%3A06IST&amp;url_ver=Z39.88-2004&amp;url_ctx_fmt=infofi/fmt:kev:mtx:ctx&amp;rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-medline&amp;rft_val_fmt=info:ofi/fmt:kev:mtx:journal&amp;rft.genre=article&amp;rft.atitle=Welcome%20Nature%20Climate%20Change.&amp;rft.jtitle=Nature&amp;rft.btitle=&amp;rft.aulast=&amp;rft.auinit=&amp;rft.auinit1=&amp;rft.auinitm=&amp;rft.ausuffix=&amp;rft.au=&amp;rft.aucorp=&amp;rft.date=20110331&amp;rft.volume=471&amp;rft.issue=7340&amp;rft.part=&amp;rft.quarter=&amp;rft.ssn=&amp;rft.spage=548&amp;rft.epage=&amp;rft.pages=548&amp;rft.artnum=&amp;rft.issn=0028-0836&amp;rft.eissn=1476-4687&amp;rft.isbn=&amp;rft.sici=&amp;rft.coden=&amp;rft_id=info:doi/10.1038/471548b&amp;rft.object_id=&amp;svc_val_fmt=info:ofi/fmt:kev:mtx:sch_svc&amp;rft.eisbn=&amp;rft_dat=&lt;medline>21455132&lt;/medline>&amp;rft_id=info:oai/&amp;svc.fulltext=yes&amp;req.language=" GetIt2="http://sfx.dbc.dk/dbc_test?ctx_ver=Z39.88-2004&amp;ctx_enc=info:ofi/enc:UTF-8&amp;ctx_tim=2014-10-30T08%3A23%3A06IST&amp;url_ver=Z39.88-2004&amp;url_ctx_fmt=infofi/fmt:kev:mtx:ctx&amp;rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-medline&amp;rft_val_fmt=info:ofi/fmt:kev:mtx:journal&amp;rft.genre=article&amp;rft.atitle=Welcome%20Nature%20Climate%20Change.&amp;rft.jtitle=Nature&amp;rft.btitle=&amp;rft.aulast=&amp;rft.aufirst=&amp;rft.auinit=&amp;rft.auinit1=&amp;rft.auinitm=&amp;rft.ausuffix=&amp;rft.au=&amp;rft.aucorp=&amp;rft.date=20110331&amp;rft.volume=471&amp;rft.issue=7340&amp;rft.part=&amp;rft.quarter=&amp;rft.ssn=&amp;rft.spage=548&amp;rft.epage=&amp;rft.pages=548&amp;rft.artnum=&amp;rft.issn=0028-0836&amp;rft.eissn=1476-4687&amp;rft.isbn=&amp;rft.sici=&amp;rft.coden=&amp;rft_id=info:doi/10.1038/471548b&amp;rft.object_id=&amp;rft.eisbn=&amp;rft_dat=&lt;medline>21455132&lt;/medline>&amp;rft_id=info:oai/&amp;req.language="/><sear:LINKS><sear:openurl><![CDATA[http://sfx.dbc.dk/dbc_test?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2014-10-30T08%3A23%3A06IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-medline&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Welcome%20Nature%20Climate%20Change.&rft.jtitle=Nature&rft.btitle=&rft.aulast=&rft.aufirst=&rft.auinit=&rft.auinit1=&rft.auinitm=&rft.ausuffix=&rft.au=&rft.aucorp=&rft.date=20110331&rft.volume=471&rft.issue=7340&rft.part=&rft.quarter=&rft.ssn=&rft.spage=548&rft.epage=&rft.pages=548&rft.artnum=&rft.issn=0028-0836&rft.eissn=1476-4687&rft.isbn=&rft.sici=&rft.coden=&rft_id=info:doi/10.1038/471548b&rft.object_id=&rft.eisbn=&rft_dat=<medline>21455132</medline>&rft_id=info:oai/&req.language=]]></sear:openurl><sear:backlink>http://pubmed.gov/21455132</sear:backlink><sear:thumbnail/><sear:openurlfulltext><![CDATA[http://sfx.dbc.dk/dbc_test?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2014-10-30T08%3A23%3A06IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-medline&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Welcome%20Nature%20Climate%20Change.&rft.jtitle=Nature&rft.btitle=&rft.aulast=&rft.auinit=&rft.auinit1=&rft.auinitm=&rft.ausuffix=&rft.au=&rft.aucorp=&rft.date=20110331&rft.volume=471&rft.issue=7340&rft.part=&rft.quarter=&rft.ssn=&rft.spage=548&rft.epage=&rft.pages=548&rft.artnum=&rft.issn=0028-0836&rft.eissn=1476-4687&rft.isbn=&rft.sici=&rft.coden=&rft_id=info:doi/10.1038/471548b&rft.object_id=&svc_val_fmt=info:ofi/fmt:kev:mtx:sch_svc&rft.eisbn=&rft_dat=<medline>21455132</medline>&rft_id=info:oai/&svc.fulltext=yes&req.language=]]></sear:openurlfulltext><sear:addlink>http://exlibris-pub.s3.amazonaws.com/aboutMedline.html</sear:addlink></sear:LINKS></sear:DOC>
+</rec>