teacup/config/monograph-chunk-template.xml
2021-12-15 11:29:23 +00:00

9 lines
No EOL
1.4 KiB
XML

<formTemplate>
<!-- @xpath will be resolved against each item in the collection, to pre-populate the field -->
<item name="chunkid" xpath="(/*:book//(*:chapter|*:acknowledgements|*:preface|*:index | *:appendix | *:toc | *:dedication | *:article | *:section[@role='subArticle'])|*:book/*:glossary|*:book/bibliography|*:book/*:part[*:partintro]|*:book/*:part/(*:glossary|*:bibliography))/@*:id/string()" title="Chunk ID" readOnly="true" type="textfield"/>
<item name="chunktitle" xpath="(/*:book//(*:chapter|*:acknowledgements|*:preface|*:index | *:appendix | *:toc | *:dedication | *:article | *:section[@role='subArticle'])|*:book/*:glossary|*:book/bibliography|*:book/*:part[*:partintro]|*:book/*:part/(*:glossary|*:bibliography))/*:info/*:title" title="Chunk title" readOnly="true" type="textfield"/>
<group xpath="/*:book/*:info/*:authorgroup/*:author/*:personname" name="Authors" title="Authors" subgroup="author">
<item xpath="." name="author_name" title="Name" type="textfield" readOnly="true"/>
</group>
<item name="doi" xpath="(/*:book//(*:chapter|*:acknowledgements|*:preface|*:index | *:appendix | *:toc | *:dedication | *:article | *:section[@role='subArticle'])|*:book/*:glossary|*:book/bibliography|*:book/*:part[*:partintro]|*:book/*:part/(*:glossary|*:bibliography))/*:info/*:biblioid[@class='doi']" title="Doi" readOnly="true" type="textfield"/>
</formTemplate>