欢迎您来到 数字平台。 您尚未登录。[登录] [注册新用户]
当前位置: 论坛首页 / 栏目 文档与手册 / 文章 12

点击:1433

[回复顶层(需要先登录)] [表状] [详细]
[回复(需要先登录)] [引用(需要先登录)]普通文章跟帖
文章id: 12
中文图书

作者: xietao


检索点定义 -- keys

<?xml version="1.0" encoding="utf-8"?>

<root>

    <nstable>

        <item prefix="marc" url="http://dp2003.com/UNIMARC" />

    </nstable>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='010']/marc:subfield[@code='a']</xpath>

        <from>ISBN</from>

        <table ref="ISBN" />

    </key>

    <table name="ISBN" id="1">

        <convert>

            <string style="stopword" stopwordTable="title"/>

        </convert>

        <convertquery>

            <string style="stopword" />

        </convertquery>

        <caption lang="zh-cn">ISBN</caption>

        <caption lang="en">ISBN</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='200']/marc:subfield[@code='a']</xpath>

        <from>title</from>

        <table ref="title" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='225']/marc:subfield[@code='a']</xpath>

        <from>title</from>

        <table ref="title" />

    </key>

    <table name="title" id="2">

        <convert>

            <string style="upper,stopword,simplify" stopwordTable="title"/>

        </convert>

        <convertquery>

            <string style="upper,stopword,simplify" />

        </convertquery>

        <caption lang="zh-cn">题名</caption>

        <caption lang="en">Title</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='200']/marc:subfield[@code='9']</xpath>

        <from>titlePinyin</from>

        <table ref="titlePinyin" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='225']/marc:subfield[@code='9']</xpath>

        <from>titlePinyin</from>

        <table ref="titlePinyin" />

    </key>

    <table name="titlePinyin" id="3">

        <convert>

            <string style="upper"/>

        </convert>

        <convertquery>

            <string style="upper" />

        </convertquery>

        <caption lang="zh-cn">题名拼音</caption>

        <caption lang="en">Title pinyin</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='606']/marc:subfield[@code='a']</xpath>

        <from>Thesaurus</from>

        <table ref="Thesaurus" />

    </key>

    <table name="Thesaurus" id="4">

        <convert>

            <string style="upper,stopword,simplify" stopwordTable="title"/>

        </convert>

        <convertquery>

            <string style="upper,stopword,simplify" />

        </convertquery>

        <caption lang="zh-cn">主题词</caption>

        <caption lang="en">Thesaurus</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='610']/marc:subfield[@code='a']</xpath>

        <from>keyword</from>

        <table ref="keyword" />

    </key>

    <table name="keyword" id="5">

        <convert>

            <string style="upper,stopword,simplify" stopwordTable="title" />

        </convert>

        <convertquery>

            <string style="upper,stopword,simplify" />

        </convertquery>

        <caption lang="zh-cn">关键词</caption>

        <caption lang="en">Keyword</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='690']/marc:subfield[@code='a']</xpath>

        <from>class</from>

        <table ref="class" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='692']/marc:subfield[@code='a']</xpath>

        <from>class</from>

        <table ref="class" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='694']/marc:subfield[@code='a']</xpath>

        <from>class</from>

        <table ref="class" />

    </key>

    <table name="class" id="6">

        <convert>

            <string style="upper"/>

        </convert>

        <convertquery>

            <string style="upper" />

        </convertquery>

        <caption lang="zh-cn">分类号</caption>

        <caption lang="en">Class number</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='700']/marc:subfield[@code='a']</xpath>

        <from>contributor</from>

        <table ref="contributor" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='701']/marc:subfield[@code='a']</xpath>

        <from>contributor</from>

        <table ref="contributor" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='702']/marc:subfield[@code='a']</xpath>

        <from>contributor</from>

        <table ref="contributor" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='710']/marc:subfield[@code='a']</xpath>

        <from>contributor</from>

        <table ref="contributor" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='711']/marc:subfield[@code='a']</xpath>

        <from>contributor</from>

        <table ref="contributor" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='712']/marc:subfield[@code='a']</xpath>

        <from>contributor</from>

        <table ref="contributor" />

    </key>

    <table name="contributor" id="7">

        <convert>

            <string style="upper,stopword,simplify" stopwordTable="title" />

        </convert>

        <convertquery>

            <string style="upper,stopword,simplify" />

        </convertquery>

        <caption lang="zh-cn">责任者</caption>

        <caption lang="en">Contributor</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='700']/marc:subfield[@code='9']</xpath>

        <from>contributorPinyin</from>

        <table ref="contributorPinyin" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='701']/marc:subfield[@code='9']</xpath>

        <from>contributorPinyin</from>

        <table ref="contributorPinyin" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='702']/marc:subfield[@code='9']</xpath>

        <from>contributorPinyin</from>

        <table ref="contributorPinyin" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='710']/marc:subfield[@code='9']</xpath>

        <from>contributorPinyin</from>

        <table ref="contributorPinyin" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='711']/marc:subfield[@code='9']</xpath>

        <from>contributorPinyin</from>

        <table ref="contributorPinyin" />

    </key>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='712']/marc:subfield[@code='9']</xpath>

        <from>contributorPinyin</from>

        <table ref="contributorPinyin" />

    </key>

    <table name="contributorPinyin" id="8">

        <convert>

            <string style="upper"/>

        </convert>

        <convertquery>

            <string style="upper" />

        </convertquery>

        <caption lang="zh-cn">责任者拼音</caption>

        <caption lang="en">Contributor pinyin</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='210']/marc:subfield[@code='c']</xpath>

        <from>publisher</from>

        <table ref="publisher" />

    </key>

    <table name="publisher" id="9">

        <convert>

            <string style="upper"/>

        </convert>

        <convertquery>

            <string style="upper" />

        </convertquery>

        <caption lang="zh-cn">出版者</caption>

        <caption lang="en">Publisher</caption>

    </table>

    <key>

        <xpath nstable="">concat(/marc:record/marc:datafield[@tag='905']/marc:subfield[@code='d'],"/",/marc:record/marc:datafield[@tag='905']/marc:subfield[@code='e'])</xpath>

        <from>callnumber</from>

        <table ref="callnumber" />

    </key>

    <table name="callnumber" id="10">

        <convert>

            <string style="upper" />

        </convert>

        <convertquery>

            <string style="upper" />

        </convertquery>

        <caption lang="zh">索书号</caption>

        <caption lang="en">Call number</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='905']/marc:subfield[@code='a']</xpath>

        <from>rightsHolder</from>

        <table ref="rightsHolder" />

    </key>

    <table name="rightsHolder" id="11">

        <convert>

            <string style="upper,simplify"/>

        </convert>

        <convertquery>

            <string style="upper,simplify" />

        </convertquery>

        <caption lang="zh-cn">收藏单位</caption>

        <caption lang="en">Rights holder</caption>

    </table>

    <key>

        <xpath nstable="">/marc:record/marc:datafield[@tag='905']/marc:subfield[@code='d']</xpath>

        <from>classnumber</from>

        <table ref="classnumber" />

    </key>

    <table name="classnumber" id="12">

        <caption lang="zh">索书类号</caption>

        <caption lang="en">Class of call number</caption>

    </table>

</root>

非用字 -- stopword 

<?xml version="1.0" encoding="utf-8"?>

<root>

    <stopwordTable name="title">

        <separator>

            <t>,</t>

            <t>_</t>

            <t>.</t>

            <t>:</t>

            <t>;</t>

            <t>!</t>

            <t>"</t>

            <t>'</t>

            <t>-</t>

            <t>,</t>

            <t>。</t>

            <t>‘</t>

            <t>’</t>

            <t>“</t>

            <t>”</t>

            <t>—</t>

        </separator>

        <word>

            <t>the</t>

            <t>a</t>

        </word>

    </stopwordTable>

</root>

浏览格式 -- browse

<?xml version="1.0" encoding="utf-8"?>

<root>

    <nstable>

        <item name="marc">

            <nameSpace>http://dp2003.com/UNIMARC</nameSpace>

            <prefix>marc</prefix>

        </item>

    </nstable>

    <col title="题名">

        <xpath nstable="all">//marc:record/marc:datafield[@tag='200']/marc:subfield[@code='a']</xpath>

    </col>

    <col title="著者">

        <xpath nstable="all">//marc:record/marc:datafield[@tag='200']/marc:subfield[@code='f']</xpath>

    </col>

    <col title="索书类号">

        <xpath nstable="all">//marc:record/marc:datafield[@tag='905']/marc:subfield[@code='d']</xpath>

    </col>

</root>

模板 -- template

<?xml version="1.0" encoding="utf-8"?>

<root>

    <template name="模板1" comment="注解内容...">

        <unimarc:record xmlns:unimarc="http://dp2003.com/UNIMARC">

            <unimarc:leader>00468nam0 2200109   45  </unimarc:leader>

            <unimarc:controlfield tag="-01">/219.137.192.224/图书总库/ctlno/0000001|2208b9416c0b000022</unimarc:controlfield>

            <unimarc:datafield tag="010" ind1=" " ind2=" ">

                <unimarc:subfield code="a">7-5399-0618-9</unimarc:subfield>

                <unimarc:subfield code="b">精装</unimarc:subfield>

                <unimarc:subfield code="d">RMB24</unimarc:subfield>

            </unimarc:datafield>

            <unimarc:datafield tag="200" ind1="1" ind2="0">

                <unimarc:subfield code="a">世界散文精华</unimarc:subfield>

                <unimarc:subfield code="A">Shi Jie San Wen Jing Hua</unimarc:subfield>

                <unimarc:subfield code="i">美洲卷</unimarc:subfield>

                <unimarc:subfield code="I">Mei Zhou Juan</unimarc:subfield>

                <unimarc:subfield code="f">冯至主编</unimarc:subfield>

                <unimarc:subfield code="F">Feng Zhi Zhu Bian</unimarc:subfield>

                <unimarc:subfield code="g">李永平,孔耕蕻主编</unimarc:subfield>

            </unimarc:datafield>

            <unimarc:datafield tag="801" ind1=" " ind2="0">

                <unimarc:subfield code="a">CN</unimarc:subfield>

                <unimarc:subfield code="b">ZSL</unimarc:subfield>

                <unimarc:subfield code="c">19960600</unimarc:subfield>

            </unimarc:datafield>

            <unimarc:datafield tag="905" ind1=" " ind2=" ">

                <unimarc:subfield code="b">1910803-04</unimarc:subfield>

                <unimarc:subfield code="d">I16</unimarc:subfield>

                <unimarc:subfield code="e">F543</unimarc:subfield>

                <unimarc:subfield code="v">:3</unimarc:subfield>

                <unimarc:subfield code="f">2</unimarc:subfield>

            </unimarc:datafield>

            <unimarc:datafield tag="906" ind1=" " ind2=" ">

                <unimarc:subfield code="a">1910803</unimarc:subfield>

                <unimarc:subfield code="a">1910804</unimarc:subfield>

            </unimarc:datafield>

            <unimarc:datafield tag="960" ind1=" " ind2=" ">

                <unimarc:subfield code="a">001</unimarc:subfield>

                <unimarc:subfield code="b">1910803-04</unimarc:subfield>

                <unimarc:subfield code="k">2</unimarc:subfield>

                <unimarc:subfield code="m">RMB24</unimarc:subfield>

                <unimarc:subfield code="c">96014</unimarc:subfield>

                <unimarc:subfield code="u">文学艺术</unimarc:subfield>

                <unimarc:subfield code="f">郑玉颜</unimarc:subfield>

                <unimarc:subfield code="g">19960805</unimarc:subfield>

                <unimarc:subfield code="i">郑田菁</unimarc:subfield>

                <unimarc:subfield code="p">Q96</unimarc:subfield>

            </unimarc:datafield>

        </unimarc:record>

    </template>

</root>

数据记录样例:

<?xml version="1.0" encoding="utf-8"?>

<unimarc:record xmlns:unimarc="http://dp2003.com/UNIMARC">

    <unimarc:leader>00468nam0 2200109   45  </unimarc:leader>

    <unimarc:controlfield tag="-01">/219.137.192.224/图书总库/ctlno/0000001|2208b9416c0b000022</unimarc:controlfield>

    <unimarc:datafield tag="010" ind1=" " ind2=" ">

        <unimarc:subfield code="a">7-5399-0618-9</unimarc:subfield>

        <unimarc:subfield code="b">精装</unimarc:subfield>

        <unimarc:subfield code="d">RMB24</unimarc:subfield>

    </unimarc:datafield>

    <unimarc:datafield tag="200" ind1="1" ind2="0">

        <unimarc:subfield code="a">世界散文精华</unimarc:subfield>

        <unimarc:subfield code="A">Shi Jie San Wen Jing Hua</unimarc:subfield>

        <unimarc:subfield code="i">美洲卷</unimarc:subfield>

        <unimarc:subfield code="I">Mei Zhou Juan</unimarc:subfield>

        <unimarc:subfield code="f">冯至主编</unimarc:subfield>

        <unimarc:subfield code="F">Feng Zhi Zhu Bian</unimarc:subfield>

        <unimarc:subfield code="g">李永平,孔耕蕻主编</unimarc:subfield>

    </unimarc:datafield>

    <unimarc:datafield tag="801" ind1=" " ind2="0">

        <unimarc:subfield code="a">CN</unimarc:subfield>

        <unimarc:subfield code="b">ZSL</unimarc:subfield>

        <unimarc:subfield code="c">19960600</unimarc:subfield>

    </unimarc:datafield>

    <unimarc:datafield tag="905" ind1=" " ind2=" ">

        <unimarc:subfield code="b">1910803-04</unimarc:subfield>

        <unimarc:subfield code="d">I16</unimarc:subfield>

        <unimarc:subfield code="e">F543</unimarc:subfield>

        <unimarc:subfield code="v">:3</unimarc:subfield>

        <unimarc:subfield code="f">2</unimarc:subfield>

    </unimarc:datafield>

    <unimarc:datafield tag="906" ind1=" " ind2=" ">

        <unimarc:subfield code="a">1910803</unimarc:subfield>

        <unimarc:subfield code="a">1910804</unimarc:subfield>

    </unimarc:datafield>

    <unimarc:datafield tag="960" ind1=" " ind2=" ">

        <unimarc:subfield code="a">001</unimarc:subfield>

        <unimarc:subfield code="b">1910803-04</unimarc:subfield>

        <unimarc:subfield code="k">2</unimarc:subfield>

        <unimarc:subfield code="m">RMB24</unimarc:subfield>

        <unimarc:subfield code="c">96014</unimarc:subfield>

        <unimarc:subfield code="u">文学艺术</unimarc:subfield>

        <unimarc:subfield code="f">郑玉颜</unimarc:subfield>

        <unimarc:subfield code="g">19960805</unimarc:subfield>

        <unimarc:subfield code="i">郑田菁</unimarc:subfield>

        <unimarc:subfield code="p">Q96</unimarc:subfield>

    </unimarc:datafield>

</unimarc:record>



发表时间: 2005-12-29 14:09:48
最后修改时间: 2006-03-24 14:44:47



  • 普通文章 dp2编目系统参考手册 xietao 2005-12-29 14:06:13[点击:85166]
  • 普通文章 数据库配置 xietao 2005-12-29 14:07:53 (ID:11) [点击:1195]
  • 普通文章 中文图书 xietao 2005-12-29 14:09:48 (ID:12) [点击:1433]
  • 普通文章 MARC格式定义 -- marcdef xietao 2005-12-29 17:10:38 (ID:22) [点击:1225]
  • 普通文章 MARC数据中的对照表 -- marcvaluelist xietao 2006-01-04 19:47:19 (ID:23) [点击:1184]
  • 普通文章 数据加工脚本 -- autogenerate.cs xietao 2006-01-04 19:52:51 (ID:24) [点击:1178]
  • 普通文章 autogenerate.cs.ref xietao 2006-01-04 19:53:47 (ID:25) [点击:1243]
  • 普通文章 拼音 xietao 2005-12-29 14:15:26 (ID:13) [点击:1248]
  • 普通文章 著者号码 xietao 2005-12-29 16:38:28 (ID:14) [点击:1196]
  • 普通文章 种次号 xietao 2005-12-29 16:43:20 (ID:15) [点击:1313]
  • 普通文章 ISBN xietao 2005-12-29 16:49:49 (ID:17) [点击:1336]
  • 普通文章 分类主题对照 xietao 2005-12-29 16:51:40 (ID:18) [点击:1142]
  • 普通文章 全局配置文件 xietao 2005-12-29 16:53:05 (ID:19) [点击:1215]
  • 普通文章 cfgs/global xietao 2005-12-29 16:56:53 (ID:20) [点击:1077]
  • 普通文章 cfgs/dup xietao 2005-12-29 16:59:07 (ID:21) [点击:1176]
  • 普通文章 DigitalPlatform.Library 函数库 xietao 2006-01-04 19:55:43 (ID:26) [点击:1663]
  •  

    在线用户
    (无) 
    当前栏目在线用户数 0, 总在线用户数 0