我将使用以下内容,检查正在设置的 creators_name 以及有多少创建者:
<when test="type = 'monograph'">
<choose>
<when test="is_set(creators_name) and length(creators_name) lt 4">
<print expr="creators_name" />
/
<print expr="title" />
</when>
<when test="is_set(creators_name) and length(creators_name) gt 3">
<print expr="title" />
/
<print expr="creators_name" />
</when>
<otherwise>
<print expr="title" />
</otherwise>
</choose>
</when>
在 EPrints 引文文件中使用 XML 注释时,它们将出现在页面的 HTML 源中。要在引文文件中添加未出现在 html 源代码中的注释,您可以使用:
<comment>This will not appear in the html source</comment>
EPrints 引用所使用的语言记录在 EPrints Wiki 上:
一些 XML 配置文件使用不同的默认命名空间 - 因此您可能会看到以命名空间为前缀的元素,例如
<cite:citation xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://eprints.org/ep3/control" xmlns:cite="http://eprints.org/ep3/citation" >
...
<epc:comment>This is a comment</epc:comment>
...
</cite:citation>
帮助 EPrints 的最佳地点是他们的邮件列表 - 搜索 wiki(上面链接)以获取详细信息(我没有足够的声誉来发布另一个链接!)。