Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

某用户 keys 文件保护 #1157

Open
DigitalPlatform opened this issue Sep 7, 2022 · 0 comments
Open

某用户 keys 文件保护 #1157

DigitalPlatform opened this issue Sep 7, 2022 · 0 comments

Comments

@DigitalPlatform
Copy link
Owner

DigitalPlatform commented Sep 7, 2022

图书总库 keys

  <key reserved="true">
    <xpath nstable="">//marc:record/marc:datafield[@tag='687']/marc:subfield[@code='a']</xpath>
    <from>shitoutangClass</from>
    <table ref="shitoutangClass" />
  </key>
  <table name="shitoutangClass" id="1005" type="stt,__class" reserved="true">
    <convert>
      <string style="upper" />
    </convert>
    <convertquery>
      <string style="upper" />
    </convertquery>
    <caption lang="zh-CN">石头汤分类号</caption>
    <caption lang="en">Shi tou Tang Class number</caption>
  </table>
  <key reserved="true">
    <xpath nstable="">//marc:record/marc:datafield[@tag='686']/marc:subfield[@code='a']</xpath>
    <from>hnb</from>
    <table ref="hnb" />
  </key>
  <table name="hnb" id="1018" type="hnb,__class" reserved="true">
    <convert>
      <string style="upper" />
    </convert>
    <convertquery>
      <string style="upper" />
    </convertquery>
    <caption lang="zh-CN">红泥巴排架号</caption>
    <caption lang="en">hnb number</caption>
  </table>

外文图书 keys

    <key reserved="true">
        <xpath nstable="usmarc">//marc:record/marc:datafield[@tag='084']/marc:subfield[@code='a']</xpath>
        <from>hnbClass</from>
        <table ref="hnbClass" />
    </key>
    <table name="hnbClass" id="1006" type="hnb,__class" reserved="true">
        <convert>
            <string style="upper" />
        </convert>
        <convertquery>
            <string style="upper" />
        </convertquery>
        <caption lang="zh-CN">红泥巴分类号</caption>
        <caption lang="en">Hong Ni Ba Class number</caption>
    </table>
    <key reserved="true">
        <xpath nstable="usmarc">//marc:record/marc:datafield[@tag='087']/marc:subfield[@code='a']</xpath>
        <from>shitoutangClass</from>
        <table ref="shitoutangClass" />
    </key>
    <table name="shitoutangClass" id="1007" type="stt,__class" reserved="true">
        <convert>
            <string style="upper" />
        </convert>
        <convertquery>
            <string style="upper" />
        </convertquery>
        <caption lang="zh-CN">石头汤分类号</caption>
        <caption lang="en">Shi tou Tang Class number</caption>
    </table>

注: 安装包中的外文图书 keys 配置文件模板也做了修改,把几种分类法的检索点从集中变为独立了。

期刊 keys

同 图书总库 keys

外源库 keys

不用保护

临时编目 keys

同 图书总库 keys

检查要点

注意检查每个(要保护的) key 和 table 元素,都应该有 reserved="true" 属性。
注意检查 convert 或 convertquery 下级的 string 元素的 style 属性值,如果里面包含井号,则还需要同时建立单独的 script 元素,并有 reserved="true" 属性保护。(上面例子中暂没有发现这种情况)

@SZCND SZCND changed the title 红泥巴 keys 文件保护 某用户 keys 文件保护 Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant