<div dir="ltr">Morning all,<div><br></div><div>John and Christopher; thank you both for the help.</div><div><br></div><div>Apologies for the confusion; it was the Symplectic solution that I needed.</div><div><br></div><div>I was kicking myself when I received Christopher&#39;s response because it was so close, but it was Johns&#39; that fixed it, which I would never have got by myself. I think I had better do some more reading about how the crosswalks work...</div><div><br></div><div>Thanks,</div><div>James</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 13, 2018 at 3:50 PM John Salter &lt;<a href="mailto:J.Salter@leeds.ac.uk">J.Salter@leeds.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div bgcolor="white" lang="EN-GB">
<div class="gmail-m_-68193825209315712WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi James,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Chris&#39; example would fix the rendering of the data within EPrints, but I _<i>think</i>_ you were wanting to be able to map a value
 coming from Symplectic (in an unexpected way), to the correct option in EPrints. Is that right?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">If so, something like (as the first test):<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:36pt"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">&lt;xsl:when  test=&quot;$name=&#39;publication-date&#39; and /atom:feed/atom:category[2]/@term =&#39;<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.symplectic.co.uk%2Fpublications%2Fatom-terms%2F1.0%2Fpresentation_material&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=2FGKi%2F%2FQsv7x3K2nFb0CgZO8p0PZxagRcSQXaYgLCNo%3D&amp;reserved=0" originalSrc="http://www.symplectic.co.uk/publications/atom-terms/1.0/presentation_material" shash="vmh4o7PI7pVJ5DulX7ES5rFyxbYc8pkLlDKyxl/xbgMyOvhpA9M9FG8UWmW4yJoKyDsn4xsTpXlRDnWIRlKiljuNyPy+Kk9NC7OhjE5DZJRsg0d+NwVSf7copiFSCD57FATKmOsFjqSoN+yfw5LNPIpvE5QGgbmiEPch8mP7vDc=" target="_blank">http://www.symplectic.co.uk/publications/atom-terms/1.0/presentation_material</a>&#39;&gt;presented&lt;/xsl:when&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">or<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:36pt"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">&lt;xsl:when  test=&quot;$name=&#39;publication-date&#39; and /atom:feed/atom:category[2]/@label =&#39;presentation_material&#39;&gt;presented&lt;/xsl:when&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">should work.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The XSLT James provided looks like the Symplectic-to-EPrints crosswalks toolkit (RT1) - e.g.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Fcrosswalks_sgul%2Fblob%2Fmaster%2Fsymplectic_xwalks_eprints_sgul.xsl%23L151-L166&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=yUUOx6aaOnEiFCvyixXL0EqAeuPcgBi6%2BkLd8n%2BCFK0%3D&amp;reserved=0" originalSrc="https://github.com/eprintsug/crosswalks_sgul/blob/master/symplectic_xwalks_eprints_sgul.xsl#L151-L166" shash="mHLHJBFz5AUGz5dDO87HKk1ZebPDQXtP8IJDVHhri7EapKml3L0RnulVSpVtf5+I+MdwEXM1IMeVIeIVOTME+9eZ9QuFW6iFDqZ3mJcgYLKvseprzTxbUXxVcKhmBWN78ooZjaJy8e3yiXrQuveW9kHhAK+0KQ2dz0prqrCunaU=" target="_blank">https://github.com/eprintsug/crosswalks_sgul/blob/master/symplectic_xwalks_eprints_sgul.xsl#L151-L166</a>
 ).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The mapping for Symplectic item types to EPrints item types uses this:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Fcrosswalks_sgul%2Fblob%2Fmaster%2Fsymplectic_xwalks_eprints_sgul.xsl%23L261-L266&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=dBG5eaYvUxPLkoLelEJmSmQqmD6nmYjAAlM3H%2FmT0p8%3D&amp;reserved=0" originalSrc="https://github.com/eprintsug/crosswalks_sgul/blob/master/symplectic_xwalks_eprints_sgul.xsl#L261-L266" shash="e15L/kKt836PSf5Vb8ix2GYV+OshjDEcM2Hegg8I/Z8lNyH/clHusRTjEcp7hQI/bJWq/HyyeM5MoC/IteMdREtFonxrdiMTn31uTPA9X08s4RCzno5bKKHxhpg+4vUabTW0wmzoOBp+/Z4ZlbxUOl6CdMupYT1vioRiBl6CMQo=" target="_blank">https://github.com/eprintsug/crosswalks_sgul/blob/master/symplectic_xwalks_eprints_sgul.xsl#L261-L266</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">which in turn references this:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Fcrosswalks_sgul%2Fblob%2Fmaster%2Fsymplectic_xwalks_eprints_sgul.xsl%23L295-L312&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=vDSRHYfE7dO30my8BcBVOJ8nhGCrtgRkfr1hLq25zcw%3D&amp;reserved=0" originalSrc="https://github.com/eprintsug/crosswalks_sgul/blob/master/symplectic_xwalks_eprints_sgul.xsl#L295-L312" shash="i0YSfxGyW7/unQwfOHP8ec8ES3HESfT2O2t0kgirPyODzsIDCtq5WdXuBIhWcAmtyLz/+/ZLXaRJc0LWT8tc8H3YuskDziz3rE4NoJU4lzeYikZa0X5jZcoX63Om6PWa3ZMnPJZqXgYunpE3JnRigr7glLldJtkjnLmD/Y46Gpg=" target="_blank">https://github.com/eprintsug/crosswalks_sgul/blob/master/symplectic_xwalks_eprints_sgul.xsl#L295-L312</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">My proposed solution above uses the same element in the incoming XML - so it should work OK. The &#39;@term&#39; might be slightly more future-proof
 than the &#39;@label&#39; variation.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">And you&#39;re right about things like &#39;type&#39; being used all over the place - so much so that your question makes sense from both &#39;it&#39;s
 EPrints XSL&#39; and &#39;it&#39;s Symplectic XSL&#39; angles!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hope that helps!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">john<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"> <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.soton.ac.uk</a>
 [mailto:<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.soton.ac.uk</a>] <b>On Behalf Of </b>Christopher Gutteridge via Eprints-tech<br>
<b>Sent:</b> 13 December 2018 15:17<br>
<b>To:</b> <a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a>; James Kerwin &lt;<a href="mailto:jkerwin2101@gmail.com" target="_blank">jkerwin2101@gmail.com</a>&gt;<br>
<b>Subject:</b> Re: [EP-tech] RT1/Crosswalks - multiple dates<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p>All the &quot;logic&quot; should go within the test=&quot;&quot;<u></u><u></u></p>
<p>The scripting terms are documented at <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPScript&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=piZTmZ0qLIQ8o2a8qpWMOIDrZsMp5e%2F3tPk4rNrK7Fw%3D&amp;reserved=0" originalSrc="https://wiki.eprints.org/w/EPScript" shash="DJfxTLnnQ2jOjMwCeWRZPCnQoHsrRmcODz2NDD2vrYdrb68LksH3T5TD7d0XzDTttZ+f9Jz/kovbuDV8ToHmTnV3gc0HmAp3/LZ0gAg6KeR0HGsAbde7pwabPq8qOYLCWz7p1waBcZ6V0/RH6Qg5DoLUTMpZL2wnY/WFo2ESY0I=" target="_blank">
https://wiki.eprints.org/w/EPScript</a> and teh XML strucure at <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_Control_Format&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=FpMEcx2jKOqthdly2AnU4zeqKJwtdBWURjW4MggaJe0%3D&amp;reserved=0" originalSrc="https://wiki.eprints.org/w/EPrints_Control_Format" shash="FZwK/4QfibM7D72W98i+JdnGNIe+9D6uu6DIfTQ+f/fA1H0FpHoaovFgbZknhEtVYF257Fxvhb4cTV3jBGRz3uh6BTd30dxyTJqn8nSS6tr09pBn0uv0bxmaGrFLz/huEoGFTO6I8wWtDMMqLvZSgH5H/VTxQDfN3YPS3LiRUBU=" target="_blank">
https://wiki.eprints.org/w/EPrints_Control_Format</a><u></u><u></u></p>
<p>here&#39;s the tweaks from your example to OK XML &amp; EPScript:<u></u><u></u></p>
<p><u></u> <u></u></p>
<div>
<p class="MsoNormal"><tt><span style="font-size:10pt">&lt;/xsl:when&gt;  test=&quot;$name=&#39;publication-date&#39; and type=&#39;presentation_material&#39;&gt;presented&lt;/xsl:when&gt;</span></tt><br>
 *            *                                                     *                                          *<u></u><u></u></p>
<div>
<p class="MsoNormal"><tt><span style="font-size:10pt">&lt;xsl:when test=&quot;$name=&#39;publication-date&#39; and $type=&#39;presentation_material&#39;&quot;&gt;presented&lt;/xsl:when&gt;</span></tt><u></u><u></u></p>
</div>
</div>
<p>So you were close<u></u><u></u></p>
<p>see also &lt;xsl:otherwise&gt;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 13/12/2018 06:05, James Kerwin via Eprints-tech wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<div>
<p class="MsoNormal">Hello all, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I recently noticed we had an item type in EPrints that hadn&#39;t been set up properly (Presentation Material). I have managed to add it to the crosswalks and phrases, but I have a problem that I cannot solve with the metadata.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The &quot;Presentation Date&quot; is sent over from the Elements &quot;publication-date&quot; field and so has a field name in Eprints of &quot;Published&quot; when I want it to say &quot;Presented&quot;.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">This is controlled via this bit of code in uol_xwalks_default.xml:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal">&lt;!-- ##################### MULTIPLE DATES ##################### --&gt;<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">    &lt;xsl:template match=&quot;pubs:date&quot; mode=&quot;mapping&quot;&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">        &lt;xsl:param name=&quot;name&quot;/&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">        &lt;xsl:param name=&quot;repo_field&quot;/&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">        &lt;xsl:choose&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">            &lt;xsl:when test=&quot;$repo_field = &#39;dates&#39;&quot;&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">                &lt;xsl:element name=&quot;date&quot;&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">                    &lt;xsl:apply-templates select=&quot;.&quot;/&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">                &lt;/xsl:element&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">                &lt;xsl:element name=&quot;date_type&quot;&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">                  <b>  &lt;xsl:choose&gt;</b><u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><b>&lt;xsl:when test=&quot;$name=&#39;publication-date&#39;&quot;&gt;published&lt;/xsl:when&gt;</b><u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><b>                        &lt;xsl:when test=&quot;$name=&#39;acceptance-date&#39;&quot;&gt;accepted&lt;/xsl:when&gt;</b><u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><b>                        &lt;xsl:when test=&quot;$name=&#39;filed-date&#39;&quot;&gt;filed&lt;/xsl:when&gt;</b><u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><b>                        &lt;xsl:when test=&quot;$name=&#39;online-publication-date&#39;&quot;&gt;published_online&lt;/xsl:when&gt;</b><u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><b>                    &lt;/xsl:choose&gt;</b><u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">                &lt;/xsl:element&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">            &lt;/xsl:when&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">            &lt;xsl:otherwise&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">                &lt;xsl:apply-templates select=&quot;.&quot; /&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">            &lt;/xsl:otherwise&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">        &lt;/xsl:choose&gt;<u></u><u></u></p>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<blockquote style="margin-left:30pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">    &lt;/xsl:template&gt;<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<p class="MsoNormal">It is the section in bold that I need to alter and add a condition to. Ideally I want to say something along the lines of:
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">&lt;/xsl:when&gt;  test=&quot;$name=&#39;publication-date&#39; and type=&#39;presentation_material&#39;&gt;presented&lt;/xsl:when&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">but I&#39;m struggling to access the item type. I&#39;m also uncertain as to whether the type should be the EPrint field name that was set in another crosswalks file, or if I should be using some other nomenclature. Complicated further by searching
 &quot;type&quot; and getting millions of results.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">This isn&#39;t particularly urgent or even essential, but if anybody has some advice I&#39;d appreciate it.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">James<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<u></u><u></u></p>
<pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><u></u><u></u></pre>
<pre>*** Archive: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=Qm9qR89WldsGBll%2BEp7NNN0yzaqIl08%2F9ol%2BkZlG8mc%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="cwKpyWoP9FNkHEhGG6u3sHsNY4lXtwEZQbor77xvVM0bceWKQmTJiGpWloKLzBFUmqU9TgsQMAKw/Emy6C5QLaULMACjPLuBZoXK/azUOrG3ZiMus7yiUaIGhk4aHECBc0MFSQUpawf7ngECOsR+SQ9DXK5ktmFTv8SvBs2hwXE=" target="_blank">http://www.eprints.org/tech.php/</a><u></u><u></u></pre>
<pre>*** EPrints community wiki: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=VKX1R%2FNo0a8MPh8bWTX1jKbTxuwd%2BLjtjkT6%2Fmq5U2I%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="miU4qIzqQ8vbsZv2vnDQD/9YukFwP9Y3JHPKwjqMGoDHtWPXm7jgEjAUW7LIxEC1zNXXg7kDfgTldHJmVOQEaWn1EZPz4FzjKel7UKP36TfGxaopSQky7ycYB9ykRskl4rk6wfPlGGksbg+wVRQfdcf9flin6bf0fA54WXMLFAA=" target="_blank">http://wiki.eprints.org/</a><u></u><u></u></pre>
<pre>*** EPrints developers Forum: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf192f55825984f388f5d08d6619f0554%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=T%2BYyRfnFK45v5NX2AFjP%2FNfkMiA7hQdwAMJlxzuh630%3D&amp;reserved=0" originalSrc="http://forum.eprints.org/" shash="tgLH7yXqYTc+EGUqfCRSboHoxtpD3Ba2h1KMQtBgd01VZlBu2Rdsq7WiDUmv98/Nasf/AWJtGTYT+SMS1OUeoPPZi/L6hl6Xb3qya96JM8JZXgaG/D8s09JFAX23YB8ut2Q2yBMy2qj8NSyrt8waKcuKoRWI72vm6c93NQXKtXQ=" target="_blank">http://forum.eprints.org/</a><u></u><u></u></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<u></u><u></u></p>
<pre>-- <u></u><u></u></pre>
<pre>Christopher Gutteridge <a href="mailto:totl@soton.ac.uk" target="_blank">&lt;totl@soton.ac.uk&gt;</a> <u></u><u></u></pre>
<pre>You should read our team blog at <a href="http://blog.soton.ac.uk/webteam/" target="_blank">http://blog.soton.ac.uk/webteam/</a><u></u><u></u></pre>
</div>
</div>

</blockquote></div>