<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.xmsochpdefault, li.xmsochpdefault, div.xmsochpdefault
        {mso-style-name:x_msochpdefault;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.xmsohyperlink
        {mso-style-name:x_msohyperlink;
        color:#0563C1;
        text-decoration:underline;}
span.xmsohyperlinkfollowed
        {mso-style-name:x_msohyperlinkfollowed;
        color:#954F72;
        text-decoration:underline;}
span.xemailstyle17
        {mso-style-name:x_emailstyle17;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Pretty much exactly like that&#8230;&nbsp; Cheers Rory.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">I knew there&#8217;d be an example, I just couldn&#8217;t find one for looking!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Alan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Rory McNicholl [mailto:Rory.McNicholl@london.ac.uk]
<br>
<b>Sent:</b> 28 March 2019 14:41<br>
<b>To:</b> Alan.Stiles via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;; Alan.Stiles &lt;alan.stiles@open.ac.uk&gt;<br>
<b>Subject:</b> Re: calculated phrase ref<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">Like this?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fblob%2F3.3%2Flib%2Fdefaultcfg%2Fcitations%2Feprint%2Fsummary_page.xml%23L97&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce3c7c074506543b398d508d6b38bbacd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=WiRDLUjirZ%2Fg%2Btpw3zgJqIDQ0OYYO2tbWcNphrQRni4%3D&amp;reserved=0" originalSrc="https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/citations/eprint/summary_page.xml#L97" shash="dvMa/GHapLzQjcl92dnKhST7/jLbfY9eX52R13qeuP0Oi49pVRCnCLVPVOrTrk9gFkxXgTNxARXcesHKS7swrkn/uxO4VGRJI38KEuyEcMNrR1BEndomOH/WsZHc1ndKmPZW0qPJeXD4pUUvpCCTbAbRWAOYcAb+1lpxgCImIis=">https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/citations/eprint/summary_page.xml#L97</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">Rory<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div id="signature">
<div id="divtagdefaultwrapper">
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Rory McNicholl</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Lead developer</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Digital&nbsp;Archives &amp; Research Technologies</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">CoSector,&nbsp;University of London</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Senate House</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Malet Street</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">London</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">WC1E 7HU</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">t: &#43;44 (0)20 7863 1344</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">e:
<a href="mailto:rory.mcnicholl@london.ac.uk">rory.mcnicholl@london.ac.uk</a></span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">w:
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcosector.com%2Fdigital-research%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce3c7c074506543b398d508d6b38bbacd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=l73U0vosjZv9Q5eVNknnicr6nTkd44vuiOSlJvKG26I%3D&amp;reserved=0" originalSrc="https://cosector.com/digital-research/" shash="at0hT44AP/hlBM99Qg0uvLmGh8b1ZuTziIdFvWQA/wqAeTLofER4RGR3OxbbUo8jIXlJQyKwLo7xbkNSk2tqyQVulSfWFy7qM3iIESUKlOfY2W49bSy3X65I8kvMg9L2x3xvutSEcVbyOaVbgNK2YkTaLEFR0io7W18P5bAd0JM=">https://cosector.com/digital-research/</a></span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">The University of London is an exempt charity in England and Wales.</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black">
<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> &lt;<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>&gt; on behalf of Alan.Stiles via Eprints-tech &lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt;<br>
<b>Sent:</b> 28 March 2019 14:36<br>
<b>To:</b> 'eprints-tech@ecs.soton.ac.uk'<br>
<b>Subject:</b> [EP-tech] calculated phrase ref</span> <o:p></o:p></p>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal">Is it possible (and if so how) to pass a calculated value to the ref parameter of a phrase call in the citation file, so it will include a value as part of the phrase reference?<o:p></o:p></p>
<p class="xmsonormal">&nbsp;<o:p></o:p></p>
<p class="xmsonormal">e.g.&nbsp;&nbsp;&nbsp; I want to include something like<o:p></o:p></p>
<p class="xmsonormal">&lt;epc:phrase ref=&#8221;module_$code&#8221; /&gt;<o:p></o:p></p>
<p class="xmsonormal">&nbsp;<o:p></o:p></p>
<p class="xmsonormal">so it will include phrases based labelled&nbsp; &#8220;module_a1&#8221;, &#8220;module_xyz4321&#8221;<o:p></o:p></p>
<p class="xmsonormal">&nbsp;<o:p></o:p></p>
<p class="xmsonormal">I know I could do an if test on the value for $code and select different phrases that way but I was trying to be clever / lazy and not have to update the citation definition for every new module that I add to a namedset.<o:p></o:p></p>
<p class="xmsonormal">&nbsp;<o:p></o:p></p>
<p class="xmsonormal">TIA,<o:p></o:p></p>
<p class="xmsonormal">Alan<o:p></o:p></p>
</div>
<p class="MsoNormal">-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England &amp; Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority
 in relation to its secondary activity of credit broking. <o:p></o:p></p>
</div>
</div>
</body>
</html>