TPAC: Fix series display for multiple series fields
authorDan Scott <dan@coffeecode.net>
Sat, 19 Jan 2013 19:28:06 +0000 (14:28 -0500)
committerBen Shum <bshum@biblio.org>
Sat, 19 Jan 2013 21:11:17 +0000 (16:11 -0500)
This commit adds one test record, "Harry Potter and the Goblet of Fire",
which contains multiple series fields. TPAC would display the series
fields in a purely additive fashion as the variable was not reset after
each field. Now we initialize the series var for each new series field
we retrieve, fixing the display problem.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/record/series.tt2
Open-ILS/tests/datasets/sql/bibs_graphic_880.sql

index 7cdf1b1..8b29b6b 100644 (file)
@@ -8,6 +8,7 @@ BLOCK render_series;
         FOR node IN ctx.marc_xml.findnodes('//*[@tag="' _ tag _ '"]');
             all_terms = [];
             graphics = [];
+            series = '';
             FOR subfield IN node.childNodes;
                 NEXT UNLESS subfield.nodeName == "subfield";
                 code = subfield.getAttribute('code');
@@ -32,7 +33,6 @@ BLOCK render_series;
                 series = series _ '<div class="graphic880"' _ link880.dir _ '>' _ link _ '</div>';
             END;
             results.push(series);
-
         END;
     END; 
     FOR entry IN results;
index a6c3f09..6d27597 100644 (file)
@@ -6,5 +6,6 @@ INSERT INTO marcxml_import (tag, marc) VALUES
 (:bib_tag, '<record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"><leader>01964cam a2200397Ia 4500</leader><controlfield tag="001">2802833</controlfield><controlfield tag="003">CONIFER</controlfield><controlfield tag="005">20110408114902.0</controlfield><controlfield tag="006">m        d        </controlfield><controlfield tag="007">cr unu||||||||</controlfield><controlfield tag="008">090106s1979    gw      ob    001 0 eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780387095141 (New York)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0387095144 (New York)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9783540095149 (Berlin)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">3540095144 (Berlin)</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)ocn297188498</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">SPLNM</subfield><subfield code="c">SPLNM</subfield><subfield code="d">GW5XE</subfield><subfield code="d">CaOWA</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA3</subfield><subfield code="b">.L28 no. 727</subfield><subfield code="a">QA377</subfield></datafield><datafield tag="066" ind1=" " ind2=" "><subfield code="c">$1</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="6">880-01</subfield><subfield code="a">Sait&#x14D;, Yoshimi.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Spectral representations for Schr&#xF6;dinger operators with long-range potentials</subfield><subfield code="h">[electronic resource] /</subfield><subfield code="c">Yoshimi Sait&#x14D;.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">Berlin ;</subfield><subfield code="a">New York :</subfield><subfield code="b">Springer-Verlag,</subfield><subfield code="c">1979.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">148 p. ;</subfield><subfield code="c">25 cm.</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Lecture notes in mathematics,</subfield><subfield code="x">0075-8434 ;</subfield><subfield code="v">727</subfield></datafield><datafield tag="504" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references (p. [141]-144) and index.</subfield></datafield><datafield tag="506" ind1="1" ind2=" "><subfield code="a">Access restricted to users with a valid University of Windsor ID ; </subfield><subfield code="b">Ontario Council of University Libraries ; </subfield><subfield code="e">Springer Science+Business Media, LLC.</subfield><subfield code="9">OWA</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Differential equations, Elliptic.</subfield></datafield><datafield tag="598" ind1=" " ind2=" "><subfield code="a">SpringerSP(before 2005)_2012_11_3349.mrc.</subfield><subfield code="b">2012_11_5</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Schr&#xF6;dinger operator.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Scattering (Mathematics)</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Spectral theory (Mathematics)</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Print version:</subfield><subfield code="a">Sait&#x14D;, Yoshimi.</subfield><subfield code="t">Spectral representations for Schr&#xF6;dinger operators with long-range potentials.</subfield><subfield code="d">Berlin ; New York : Springer-Verlag, 1979</subfield><subfield code="z">0387095144</subfield><subfield code="w">(DLC)   79015958</subfield><subfield code="w">(OCoLC)5101219</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">Lecture notes in mathematics (Springer-Verlag) ;</subfield><subfield code="v">727.</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="u">http://ezproxy.uwindsor.ca/login?url=http://books.scholarsportal.info/viewdoc.html?id=/ebooks/ebooks2/springer/2011-04-14/2/3540095144</subfield><subfield code="y">Available Online</subfield><subfield code="9">WINDSYS</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="u">http://ezproxy.uwindsor.ca/login?url=http://dx.doi.org/10.1007/BFb0070997</subfield><subfield code="y">Available Online</subfield><subfield code="9">WINDSYS</subfield></datafield><datafield tag="880" ind1="1" ind2=" "><subfield code="6">100-01/$1</subfield><subfield code="a">&#x9F4B;&#x85E4;, &#x7FA9;&#x5BE6;</subfield></datafield><datafield tag="901" ind1=" " ind2=" "><subfield code="a">297188498</subfield><subfield code="b">OCoLC</subfield><subfield code="c">2802833</subfield><subfield code="t">biblio</subfield></datafield></record>'),
 (:bib_tag, '<record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"><leader>02921nam a2200625Ia 4500</leader><controlfield tag="001">892053</controlfield><controlfield tag="003">CONIFER</controlfield><controlfield tag="005">20081125080111.0</controlfield><controlfield tag="006">m        d        </controlfield><controlfield tag="007">cr cn|        </controlfield><controlfield tag="008">081017s2006    ja a    sb    001 0 eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9784431287759</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">4431287752</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)ocn262693560</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)262693560</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">978-4-431-28774-2</subfield><subfield code="b">Springer</subfield><subfield code="n">http://www.springerlink.com</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">GW5XE</subfield><subfield code="b">eng</subfield><subfield code="c">GW5XE</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="050" ind1="1" ind2="4"><subfield code="a">QP123</subfield><subfield code="b">.B68 2006eb</subfield></datafield><datafield tag="060" ind1="1" ind2="4"><subfield code="a">2006 G-560</subfield></datafield><datafield tag="060" ind1="1" ind2="4"><subfield code="a">WF 102</subfield><subfield code="b">I608b 2006</subfield></datafield><datafield tag="066" ind1=" " ind2=" "><subfield code="c">$1</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">QP</subfield><subfield code="2">lcco</subfield></datafield><datafield tag="082" ind1="0" ind2="4"><subfield code="a">612.2</subfield><subfield code="2">22</subfield></datafield><datafield tag="245" ind1="0" ind2="0"><subfield code="6">880-01</subfield><subfield code="a">Breathing, feeding, and neuroprotection</subfield><subfield code="h">[electronic resource] /</subfield><subfield code="c">I . Homma, S. Shioda, eds.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="6">880-02</subfield><subfield code="a">Tokyo ;</subfield><subfield code="a">New York :</subfield><subfield code="b">Springer,</subfield><subfield code="c">c2006.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xvi, 148 p. :</subfield><subfield code="b">ill. ;</subfield><subfield code="c">24 cm.</subfield></datafield><datafield tag="504" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references and index.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Central regulation of breathing -- Neurogeneration and neuroprotection -- Brain functions in health and disease -- Brain functions by the Dipole Tracing method.</subfield></datafield><datafield tag="533" ind1=" " ind2=" "><subfield code="a">Electronic reproduction.</subfield><subfield code="b">New York :</subfield><subfield code="c">Springer,</subfield><subfield code="d">2008.</subfield><subfield code="n">Mode of access: World Wide Web.</subfield><subfield code="n">System requirements: Web browser.</subfield><subfield code="n">Title from title screen (viewed on Oct. 10, 2008).</subfield><subfield code="n">Access may be restricted to users at subscribing institutions.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Respiration</subfield><subfield code="x">Regulation.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Blood-brain barrier.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Neurophysiology.</subfield></datafield><datafield tag="650" ind1="1" ind2="2"><subfield code="a">Respiratory Mechanics</subfield><subfield code="x">physiology</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1="1" ind2="2"><subfield code="a">Respiratory Transport</subfield><subfield code="x">physiology</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1="2" ind2="2"><subfield code="a">Biological Clocks</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1="2" ind2="2"><subfield code="a">Blood-Brain Barrier</subfield><subfield code="x">innervation</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1="2" ind2="2"><subfield code="a">Brain Stem</subfield><subfield code="x">physiology</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1="2" ind2="2"><subfield code="a">Nerve Regeneration</subfield><subfield code="x">physiology</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="6">880-03</subfield><subfield code="a">N&#x14D;.</subfield><subfield code="2">jlabsh/3</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="a">Electronic books.</subfield><subfield code="2">local</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="6">880-04</subfield><subfield code="a">Homma, Ikuo.</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="6">880-00</subfield><subfield code="a">Shioda, S.</subfield><subfield code="q">(Seiji)</subfield></datafield><datafield tag="710" ind1="2" ind2=" "><subfield code="a">SpringerLink (Online service)</subfield></datafield><datafield tag="776" ind1="1" ind2=" "><subfield code="c">Original</subfield><subfield code="z">4431287744</subfield><subfield code="z">9784431287742</subfield><subfield code="w">(DLC)  2006923431</subfield><subfield code="w">(OCoLC)69982830</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="z">Available online from SpringerLink</subfield><subfield code="u">http://librweb.laurentian.ca/login?url=http://dx.doi.org/10.1007/4-431-28775-2</subfield><subfield code="9">LUSYS</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="z">Available online from ScholarsPortal</subfield><subfield code="u">http://librweb.laurentian.ca/login?url=http://resolver.scholarsportal.info/isbn/9784431287759</subfield><subfield code="9">LUSYS</subfield></datafield><datafield tag="880" ind1="0" ind2="0"><subfield code="6">245-01/$1</subfield><subfield code="a">Breathing&#xFF0C;Feeding&#xFF0C;and&#xFF0C;Neuroprotection&#xFF0F;</subfield><subfield code="h">[electronic resource]</subfield><subfield code="c">I&#x3002;Homma&#xFF1B;S&#x3002;Shioda&#xFF3B;&#x7DE8;&#xFF3D;&#x3002;</subfield></datafield><datafield tag="880" ind1=" " ind2=" "><subfield code="6">260-02/$1</subfield><subfield code="a">&#xFF3B;&#x6771;&#x4EAC;&#xFF3D;&#xFF1A;</subfield><subfield code="b">&#xFF3B;&#x30B7;&#x30E5;&#x30D7;&#x30EA;&#x30F3;&#x30AC;&#x30FC;&#x30FB;&#x30D5;&#x30A7;&#x30A2;&#x30E9;&#x30FC;&#x30AF;&#x6771;&#x4EAC;&#xFF3D;&#xFF0C;</subfield><subfield code="c">c2006&#x3002;</subfield></datafield><datafield tag="880" ind1="0" ind2="7"><subfield code="6">650-03/$1</subfield><subfield code="a">&#x8133;</subfield><subfield code="2">jlabsh/3</subfield></datafield><datafield tag="880" ind1="1" ind2=" "><subfield code="6">700-00/$1</subfield><subfield code="a">&#x672C;&#x9593;&#x751F;&#x592B;</subfield></datafield><datafield tag="880" ind1="1" ind2=" "><subfield code="6">700-04/$1</subfield><subfield code="a">&#x5869;&#x7530;&#x6E05;&#x4E8C;</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">ONTCL</subfield></datafield><datafield tag="596" ind1=" " ind2=" "><subfield code="a">1</subfield></datafield><datafield tag="901" ind1=" " ind2=" "><subfield code="a">a892053</subfield><subfield code="b">Sirsi_Auto</subfield><subfield code="c">892053</subfield><subfield code="t">biblio</subfield></datafield></record>'),
 (:bib_tag, '<record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"><leader>02737nam a2200589Ia 4500</leader><controlfield tag="001">925636</controlfield><controlfield tag="003">CONIFER</controlfield><controlfield tag="005">20081125083147.0</controlfield><controlfield tag="006">m        d        </controlfield><controlfield tag="007">cr cn|        </controlfield><controlfield tag="008">081017s2002    gw a    sb    100 0 eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a"> 9783540461456</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a"> 3540461450</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)ocn262687400</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)262687400</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">978-3-540-44123-6</subfield><subfield code="b">Springer</subfield><subfield code="n">http://www.springerlink.com</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">GW5XE</subfield><subfield code="b">eng</subfield><subfield code="c">GW5XE</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="050" ind1="1" ind2="4"><subfield code="a">QA76.9.D37</subfield><subfield code="b">D396 2002eb</subfield></datafield><datafield tag="066" ind1=" " ind2=" "><subfield code="c">$1</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">Q</subfield><subfield code="2">lcco</subfield></datafield><datafield tag="082" ind1="0" ind2="4"><subfield code="a">658.4/038/0285574</subfield><subfield code="2">22</subfield></datafield><datafield tag="111" ind1="2" ind2=" "><subfield code="a">DaWaK 2002</subfield><subfield code="d">(2002 :</subfield><subfield code="c">Aix-en-Provence, France)</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Data warehousing and knowledge discovery</subfield><subfield code="h">[electronic resource] :</subfield><subfield code="b">4th international conference, DaWaK 2002, Aix-en-Provence, France, September 4-6, 2002 : proceedings /</subfield><subfield code="c">Yahiko Kambayashi, Werner Winiwarter, Masatoshi Arikawa (eds.).</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">Berlin ;</subfield><subfield code="a">New York :</subfield><subfield code="b">Springer,</subfield><subfield code="c">2002.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xiii, 337 p. :</subfield><subfield code="b">ill. ;</subfield><subfield code="c">24 cm.</subfield></datafield><datafield tag="440" ind1=" " ind2="0"><subfield code="a">Lecture notes in computer science ;</subfield><subfield code="v">2114</subfield></datafield><datafield tag="504" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references.</subfield></datafield><datafield tag="533" ind1=" " ind2=" "><subfield code="a">Electronic reproduction.</subfield><subfield code="b">New York :</subfield><subfield code="c">Springer,</subfield><subfield code="d">2008.</subfield><subfield code="n">Mode of access: World Wide Web.</subfield><subfield code="n">System requirements: Web browser.</subfield><subfield code="n">Title from title screen (viewed on Oct. 10, 2008).</subfield><subfield code="n">Access may be restricted to users at subscribing institutions.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Data warehousing</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Database searching</subfield><subfield code="v">Congresses.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">BANCO DE DADOS (CONGRESSOS)</subfield><subfield code="2">larpcal</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">REDES E COMUNICA&#xC7;&#xC3;O DE DADOS (CONGRESSOS)</subfield><subfield code="2">larpcal</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">RECUPERA&#xC7;&#xC3;O DA INFORMA&#xC7;&#xC3;O (CONGRESSOS)</subfield><subfield code="2">larpcal</subfield></datafield><datafield tag="650" ind1="1" ind2="7"><subfield code="a">Data-analyse.</subfield><subfield code="2">gtt</subfield></datafield><datafield tag="650" ind1="1" ind2="7"><subfield code="a">Kennismanagement.</subfield><subfield code="2">gtt</subfield></datafield><datafield tag="650" ind1="1" ind2="7"><subfield code="a">Data warehouse.</subfield><subfield code="2">gtt</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Bases de donn&#xE9;es</subfield><subfield code="x">Interrogation</subfield><subfield code="v">Congr&#xE8;s.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Entrep&#xF4;ts de donn&#xE9;es (Informatique)</subfield><subfield code="v">Congr&#xE8;s.</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="a">Electronic books.</subfield><subfield code="2">local</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Kambayashi, Y.</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Winiwarter, Werner.</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="6">880-01</subfield><subfield code="a">Arikawa, Masatoshi.</subfield></datafield><datafield tag="710" ind1="2" ind2=" "><subfield code="a">SpringerLink (Online service)</subfield></datafield><datafield tag="776" ind1="1" ind2=" "><subfield code="c">Original</subfield><subfield code="z">3540441239</subfield><subfield code="z">9783540441236</subfield><subfield code="w">(DLC)  2002030275</subfield><subfield code="w">(OCoLC)50291185</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="z">Available online from SpringerLink</subfield><subfield code="u">http://librweb.laurentian.ca/login?url=http://dx.doi.org/10.1007/3-540-46145-0</subfield><subfield code="9">LUSYS</subfield></datafield><datafield tag="856" ind1="4" ind2="1"><subfield code="u">http://link.springer-ny.com/link/service/series/0558/tocs/t2454.htm</subfield><subfield code="z">Restricted to Springer LINK subscribers</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="z">Available online from Scholars Portal</subfield><subfield code="u">http://librweb.laurentian.ca/login?url=http://resolver.scholarsportal.info/isbn/9783540461456</subfield><subfield code="9">LUSYS</subfield></datafield><datafield tag="880" ind1="1" ind2=" "><subfield code="6">700-01/$1</subfield><subfield code="a">&#x6709;&#x5DDD;, &#x6B63;&#x4FCA;</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">ONTCL</subfield></datafield><datafield tag="596" ind1=" " ind2=" "><subfield code="a">1</subfield></datafield><datafield tag="901" ind1=" " ind2=" "><subfield code="a">a925636</subfield><subfield code="b">Sirsi_Auto</subfield><subfield code="c">925636</subfield><subfield code="t">biblio</subfield></datafield></record>'),
-(:bib_tag, '<record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"><leader>02145cam a2200505Ia 4500</leader><controlfield tag="001">964180</controlfield><controlfield tag="003">MAnMC</controlfield><controlfield tag="005">20061016090635.0</controlfield><controlfield tag="008">060622s2005    cc a          000 0 chi d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">7801885120 :</subfield><subfield code="c">$7.35</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)70159732</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">BKL</subfield><subfield code="c">BKL</subfield><subfield code="d">BKL</subfield><subfield code="d">ACTRA</subfield><subfield code="d">NOG</subfield></datafield><datafield tag="041" ind1="1" ind2=" "><subfield code="a">chieng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">NOGA</subfield></datafield><datafield tag="066" ind1=" " ind2=" "><subfield code="c">$1</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="6">880-01</subfield><subfield code="a">Cai, Zhizhong,</subfield><subfield code="d">1948-</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="6">880-02</subfield><subfield code="a">Laozi shuo I : Zhi zhe de di yu =</subfield><subfield code="b">the Dao speaks I : the whispers of wisdom /</subfield><subfield code="c">Cai Zhizhong zhu ; Brian Bruya yi.</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="6">880-03</subfield><subfield code="a">Zhi zhe de di yu</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="a">Dao speaks I</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="a">Whispers of wisdom</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="6">880-04</subfield><subfield code="a">Di 1 ban.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="6">880-05</subfield><subfield code="a">Beijing Shi :</subfield><subfield code="b">Xian dai chu ban she,</subfield><subfield code="c">2005.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">4, 93 p. :</subfield><subfield code="b">chiefly ill. ;</subfield><subfield code="c">21 cm.</subfield></datafield><datafield tag="440" ind1=" " ind2="0"><subfield code="6">880-06</subfield><subfield code="a">Cai Zhizhong man hua zhong ying wen ban.</subfield></datafield><datafield tag="600" ind1="0" ind2="0"><subfield code="6">880-07</subfield><subfield code="a">Laozi.</subfield><subfield code="t">Dao de jing.</subfield></datafield><datafield tag="600" ind1="0" ind2="0"><subfield code="6">880-08</subfield><subfield code="a">Laozi</subfield><subfield code="x">Criticism and interpretation.</subfield></datafield><datafield tag="600" ind1="0" ind2="0"><subfield code="6">880-09</subfield><subfield code="a">Laozi</subfield><subfield code="v">Caricatures and cartoons.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Chinese language materials.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Philosophy, Taoist</subfield><subfield code="v">Caricatures and cartoons.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Taoism</subfield><subfield code="v">Comic books, strips, etc.</subfield></datafield><datafield tag="880" ind1="1" ind2=" "><subfield code="6">100-01/$1</subfield><subfield code="a">&#x8521;&#x5FD7;&#x5FE0;,</subfield><subfield code="d">1948-</subfield></datafield><datafield tag="880" ind1="1" ind2="0"><subfield code="6">245-02/$1</subfield><subfield code="a">&#x8001;&#x5B50;&#x8BF4; I : &#x667A;&#x8005;&#x7684;&#x4F4E;&#x8BED; =</subfield><subfield code="b">the Dao speaks I : the whispers of wisdom /</subfield><subfield code="c">&#x8521;&#x5FD7;&#x5FE0;&#x8457; ; Brian Bruya &#x8BD1;.</subfield></datafield><datafield tag="880" ind1="3" ind2="0"><subfield code="6">246-03/$1</subfield><subfield code="a">&#x667A;&#x8005;&#x7684;&#x4F4E;&#x8BED;</subfield></datafield><datafield tag="880" ind1=" " ind2=" "><subfield code="6">250-04/$1</subfield><subfield code="a">&#x7B2C;1&#x7248;.</subfield></datafield><datafield tag="880" ind1=" " ind2=" "><subfield code="6">260-05/$1</subfield><subfield code="a">&#x5317;&#x4EAC;&#x5E02; :</subfield><subfield code="b">&#x73B0;&#x4EE3;&#x51FA;&#x7248;&#x793E;,</subfield><subfield code="c">2005.</subfield></datafield><datafield tag="880" ind1=" " ind2="0"><subfield code="6">440-06/$1</subfield><subfield code="a">&#x8521;&#x5FD7;&#x5FE0;&#x6F2B;&#x753B;&#x4E2D;&#x82F1;&#x6587;&#x7248;.</subfield></datafield><datafield tag="880" ind1="0" ind2="4"><subfield code="6">600-07/$1</subfield><subfield code="a">&#x8001;&#x5B50;.</subfield><subfield code="t">&#x9053;&#x5FB7;&#x7D93;.</subfield></datafield><datafield tag="880" ind1="0" ind2="4"><subfield code="6">600-08/$1</subfield><subfield code="a">&#x8001;&#x5B50;</subfield><subfield code="x">Criticism and interpretation.</subfield></datafield><datafield tag="880" ind1="0" ind2="4"><subfield code="6">600-09/$1</subfield><subfield code="a">&#x8001;&#x5B50;</subfield><subfield code="v">Caricatures and cartoons.</subfield></datafield><datafield tag="902" ind1=" " ind2=" "><subfield code="a">100701</subfield></datafield><datafield tag="998" ind1=" " ind2=" "><subfield code="b">1</subfield><subfield code="c">061016</subfield><subfield code="d">0</subfield><subfield code="e">1</subfield><subfield code="f">-</subfield><subfield code="g">0</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">C0</subfield><subfield code="b">NOG</subfield></datafield><datafield tag="990" ind1=" " ind2=" "><subfield code="a">nobcw 10-16-2006</subfield></datafield><datafield tag="852" ind1="4" ind2=" "><subfield code="a">gaaagpl</subfield><subfield code="b">MBI</subfield><subfield code="b">MBI</subfield><subfield code="c">Stacks</subfield><subfield code="j">C 299.5 C123LA   V.1</subfield><subfield code="g">book</subfield><subfield code="p">31867002191208</subfield><subfield code="y">12.00</subfield><subfield code="x">nonreference</subfield><subfield code="x">holdable</subfield><subfield code="x">circulating</subfield><subfield code="x">visible</subfield><subfield code="z">Available</subfield></datafield><datafield tag="852" ind1="4" ind2=" "><subfield code="a">gaaagpl</subfield><subfield code="b">MBI</subfield><subfield code="b">MBI</subfield><subfield code="c">Stacks</subfield><subfield code="j">C 299.5 C123LA  V.1</subfield><subfield code="g">book</subfield><subfield code="p">31867002187685</subfield><subfield code="y">12.00</subfield><subfield code="x">nonreference</subfield><subfield code="x">holdable</subfield><subfield code="x">circulating</subfield><subfield code="x">visible</subfield><subfield code="z">Available</subfield></datafield><datafield tag="901" ind1=" " ind2=" "><subfield code="a">964180</subfield><subfield code="b">AUTOGEN</subfield><subfield code="c">964180</subfield><subfield code="t">biblio</subfield></datafield></record>')
+(:bib_tag, '<record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"><leader>02145cam a2200505Ia 4500</leader><controlfield tag="001">964180</controlfield><controlfield tag="003">MAnMC</controlfield><controlfield tag="005">20061016090635.0</controlfield><controlfield tag="008">060622s2005    cc a          000 0 chi d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">7801885120 :</subfield><subfield code="c">$7.35</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)70159732</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">BKL</subfield><subfield code="c">BKL</subfield><subfield code="d">BKL</subfield><subfield code="d">ACTRA</subfield><subfield code="d">NOG</subfield></datafield><datafield tag="041" ind1="1" ind2=" "><subfield code="a">chieng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">NOGA</subfield></datafield><datafield tag="066" ind1=" " ind2=" "><subfield code="c">$1</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="6">880-01</subfield><subfield code="a">Cai, Zhizhong,</subfield><subfield code="d">1948-</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="6">880-02</subfield><subfield code="a">Laozi shuo I : Zhi zhe de di yu =</subfield><subfield code="b">the Dao speaks I : the whispers of wisdom /</subfield><subfield code="c">Cai Zhizhong zhu ; Brian Bruya yi.</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="6">880-03</subfield><subfield code="a">Zhi zhe de di yu</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="a">Dao speaks I</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="a">Whispers of wisdom</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="6">880-04</subfield><subfield code="a">Di 1 ban.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="6">880-05</subfield><subfield code="a">Beijing Shi :</subfield><subfield code="b">Xian dai chu ban she,</subfield><subfield code="c">2005.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">4, 93 p. :</subfield><subfield code="b">chiefly ill. ;</subfield><subfield code="c">21 cm.</subfield></datafield><datafield tag="440" ind1=" " ind2="0"><subfield code="6">880-06</subfield><subfield code="a">Cai Zhizhong man hua zhong ying wen ban.</subfield></datafield><datafield tag="600" ind1="0" ind2="0"><subfield code="6">880-07</subfield><subfield code="a">Laozi.</subfield><subfield code="t">Dao de jing.</subfield></datafield><datafield tag="600" ind1="0" ind2="0"><subfield code="6">880-08</subfield><subfield code="a">Laozi</subfield><subfield code="x">Criticism and interpretation.</subfield></datafield><datafield tag="600" ind1="0" ind2="0"><subfield code="6">880-09</subfield><subfield code="a">Laozi</subfield><subfield code="v">Caricatures and cartoons.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Chinese language materials.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Philosophy, Taoist</subfield><subfield code="v">Caricatures and cartoons.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Taoism</subfield><subfield code="v">Comic books, strips, etc.</subfield></datafield><datafield tag="880" ind1="1" ind2=" "><subfield code="6">100-01/$1</subfield><subfield code="a">&#x8521;&#x5FD7;&#x5FE0;,</subfield><subfield code="d">1948-</subfield></datafield><datafield tag="880" ind1="1" ind2="0"><subfield code="6">245-02/$1</subfield><subfield code="a">&#x8001;&#x5B50;&#x8BF4; I : &#x667A;&#x8005;&#x7684;&#x4F4E;&#x8BED; =</subfield><subfield code="b">the Dao speaks I : the whispers of wisdom /</subfield><subfield code="c">&#x8521;&#x5FD7;&#x5FE0;&#x8457; ; Brian Bruya &#x8BD1;.</subfield></datafield><datafield tag="880" ind1="3" ind2="0"><subfield code="6">246-03/$1</subfield><subfield code="a">&#x667A;&#x8005;&#x7684;&#x4F4E;&#x8BED;</subfield></datafield><datafield tag="880" ind1=" " ind2=" "><subfield code="6">250-04/$1</subfield><subfield code="a">&#x7B2C;1&#x7248;.</subfield></datafield><datafield tag="880" ind1=" " ind2=" "><subfield code="6">260-05/$1</subfield><subfield code="a">&#x5317;&#x4EAC;&#x5E02; :</subfield><subfield code="b">&#x73B0;&#x4EE3;&#x51FA;&#x7248;&#x793E;,</subfield><subfield code="c">2005.</subfield></datafield><datafield tag="880" ind1=" " ind2="0"><subfield code="6">440-06/$1</subfield><subfield code="a">&#x8521;&#x5FD7;&#x5FE0;&#x6F2B;&#x753B;&#x4E2D;&#x82F1;&#x6587;&#x7248;.</subfield></datafield><datafield tag="880" ind1="0" ind2="4"><subfield code="6">600-07/$1</subfield><subfield code="a">&#x8001;&#x5B50;.</subfield><subfield code="t">&#x9053;&#x5FB7;&#x7D93;.</subfield></datafield><datafield tag="880" ind1="0" ind2="4"><subfield code="6">600-08/$1</subfield><subfield code="a">&#x8001;&#x5B50;</subfield><subfield code="x">Criticism and interpretation.</subfield></datafield><datafield tag="880" ind1="0" ind2="4"><subfield code="6">600-09/$1</subfield><subfield code="a">&#x8001;&#x5B50;</subfield><subfield code="v">Caricatures and cartoons.</subfield></datafield><datafield tag="902" ind1=" " ind2=" "><subfield code="a">100701</subfield></datafield><datafield tag="998" ind1=" " ind2=" "><subfield code="b">1</subfield><subfield code="c">061016</subfield><subfield code="d">0</subfield><subfield code="e">1</subfield><subfield code="f">-</subfield><subfield code="g">0</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">C0</subfield><subfield code="b">NOG</subfield></datafield><datafield tag="990" ind1=" " ind2=" "><subfield code="a">nobcw 10-16-2006</subfield></datafield><datafield tag="852" ind1="4" ind2=" "><subfield code="a">gaaagpl</subfield><subfield code="b">MBI</subfield><subfield code="b">MBI</subfield><subfield code="c">Stacks</subfield><subfield code="j">C 299.5 C123LA   V.1</subfield><subfield code="g">book</subfield><subfield code="p">31867002191208</subfield><subfield code="y">12.00</subfield><subfield code="x">nonreference</subfield><subfield code="x">holdable</subfield><subfield code="x">circulating</subfield><subfield code="x">visible</subfield><subfield code="z">Available</subfield></datafield><datafield tag="852" ind1="4" ind2=" "><subfield code="a">gaaagpl</subfield><subfield code="b">MBI</subfield><subfield code="b">MBI</subfield><subfield code="c">Stacks</subfield><subfield code="j">C 299.5 C123LA  V.1</subfield><subfield code="g">book</subfield><subfield code="p">31867002187685</subfield><subfield code="y">12.00</subfield><subfield code="x">nonreference</subfield><subfield code="x">holdable</subfield><subfield code="x">circulating</subfield><subfield code="x">visible</subfield><subfield code="z">Available</subfield></datafield><datafield tag="901" ind1=" " ind2=" "><subfield code="a">964180</subfield><subfield code="b">AUTOGEN</subfield><subfield code="c">964180</subfield><subfield code="t">biblio</subfield></datafield></record>'),
+(:bib_tag, '<record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"><leader>01483cam a2200361Ia 4500</leader><controlfield tag="001">800255</controlfield><controlfield tag="003">MAnMC</controlfield><controlfield tag="005">20110603140152.0</controlfield><controlfield tag="008">020801r20022000nyua   c      000 1 eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0439139600 (pbk.) :</subfield><subfield code="c">$8.99</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)ocm50279560</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">OCO</subfield><subfield code="c">OCO</subfield><subfield code="d">MRQ</subfield><subfield code="d">UtOrBLW</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MRQA</subfield></datafield><datafield tag="099" ind1=" " ind2=" "><subfield code="a">J</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="0">(MVLC)442287</subfield><subfield code="a">Rowling, J. K.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Harry Potter and the goblet of fire /</subfield><subfield code="c">by J.K. Rowling ; illustrations by Mary GrandPr&#xE9;.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">New York :</subfield><subfield code="b">Scholastic,</subfield><subfield code="c">2002.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xi, 734 p. :</subfield><subfield code="b">ill. ;</subfield><subfield code="c">19 cm.</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Year four at Hogwarts</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Harry Potter: Year four at Hogwarts</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Sequel to: Harry Potter and the prisoner of Azkaban.</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">Fourteen-year-old Harry Potter joins the Weasleys at the Quidditch World Cup, then enters his fourth year at Hogwarts Academy where he is mysteriously entered in an unusual contest that challenges his wizarding skills, friendships and character, amid signs that an old enemy is growing stronger.</subfield></datafield><datafield tag="650" ind1=" " ind2="1"><subfield code="a">Hogwarts School of Witchcraft and Wizardry (Imaginary place)</subfield><subfield code="v">Fiction.</subfield></datafield><datafield tag="650" ind1=" " ind2="1"><subfield code="a">Wizards</subfield><subfield code="v">Fiction</subfield><subfield code="0">(MVLC)373715</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Magic</subfield><subfield code="v">Fiction</subfield><subfield code="0">(MVLC)398525</subfield></datafield><datafield tag="650" ind1=" " ind2="1"><subfield code="a">Schools</subfield><subfield code="v">Fiction</subfield><subfield code="0">(MVLC)379065</subfield></datafield><datafield tag="651" ind1=" " ind2="1"><subfield code="a">England</subfield><subfield code="v">Fiction.</subfield><subfield code="0">(MVLC)486319</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="a">Fantasy fiction</subfield><subfield code="v">Juvenile fiction.</subfield><subfield code="2">gsafd</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="a">Fantasy fiction</subfield><subfield code="v">Juvenile fiction.</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">GrandPr&#xE9;, Mary</subfield><subfield code="0">(MVLC)176539</subfield></datafield><datafield tag="800" ind1="1" ind2=" "><subfield code="a">Rowling, J. K.</subfield><subfield code="t">Year ... at Hogwarts</subfield></datafield><datafield tag="830" ind1=" " ind2=" "><subfield code="a">Harry Potter: Year four at Hogwarts</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">X0</subfield><subfield code="b">MRQ</subfield></datafield><datafield tag="901" ind1=" " ind2=" "><subfield code="a">800255</subfield><subfield code="b">AUTOGEN</subfield><subfield code="c">800255</subfield><subfield code="t">biblio</subfield></datafield></record>')
 ;