检索点定义 -- 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>