<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>All the &quot;logic&quot; should go within the test=&quot;&quot;</p>
<p>The scripting terms are documented at <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPScript&amp;data=01%7C01%7C%7Cd6df61610aca4b04c4e008d6610e08f6%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=0BoHjAupnde35Nq6GYwNR%2BQIX9LSE7k4A64alB9EH18%3D&amp;reserved=0" originalsrc="https://wiki.eprints.org/w/EPScript" shash="oUrHsKwOLKURLLPaZMDbTRzwwISiAJYTZtApmh55aoeSAYntheW7/oVZesVhKZjv0uiMmcmVuD2q4lOmVHUMPOXZ6hsuBxBnh05kU9mALIa7YpVODK/EGTHOxPceZ3lcLObGO1DgbVxbfOHoCUG1vtx8f1a3maKfmtxkcQD&#43;nV8=">
https://wiki.eprints.org/w/EPScript</a> and teh XML strucure at <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_Control_Format&amp;data=01%7C01%7C%7Cd6df61610aca4b04c4e008d6610e08f6%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=FUx6w%2BNQJFfcPONyyaKxWATOr5fRcmlspqizvOQh%2BZU%3D&amp;reserved=0" originalsrc="https://wiki.eprints.org/w/EPrints_Control_Format" shash="Q5UIFOfKKVrCTfLMMjiY7XzjrsejQ48aQEkE34nZ5re16g9zgQJCbP33hLXf&#43;vUp&#43;fEA&#43;l5E0YRdremfg2eOeVxX2cMNBDQn9LeFc9&#43;fd82nUz44Soy2E1hTYDKWZN8G9cnKnd4ijK421NU7C&#43;lRtT1mWRkXbcYiFwQSbGa3Tvc=">
https://wiki.eprints.org/w/EPrints_Control_Format</a><br>
</p>
<p>here's the tweaks from your example to OK XML &amp; EPScript:</p>
<p><br>
</p>
<div><tt>&lt;/xsl:when&gt;&nbsp; test=&quot;$name='publication-date' and type='presentation_material'&gt;presented&lt;/xsl:when&gt;</tt><br>
&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<br>
<div><tt>&lt;xsl:when test=&quot;$name='publication-date' and $type='presentation_material'&quot;&gt;presented&lt;/xsl:when&gt;</tt></div>
</div>
<p>So you were close</p>
<p>see also &lt;xsl:otherwise&gt;<br>
</p>
<br>
<div class="moz-cite-prefix">On 13/12/2018 06:05, James Kerwin via Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|979eb812ea9c5195cafdcd9f6c40a1ffuBCM7K14eprints-tech-bounces|ecs.soton.ac.uk|CAKkNZ9CRzHLAeM5L7zojY6m8isEdN4yCpPyi5UNca4fpYUvLmA@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">Hello all,
<div><br>
</div>
<div>I recently noticed we had an item type in EPrints that hadn'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.</div>
<div><br>
</div>
<div>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;.</div>
<div><br>
</div>
<div>This is controlled via this bit of code in uol_xwalks_default.xml:</div>
<div><br>
</div>
</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>
<div>&lt;!-- ##################### MULTIPLE DATES ##################### --&gt;</div>
</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &lt;xsl:template match=&quot;pubs:date&quot; mode=&quot;mapping&quot;&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:param name=&quot;name&quot;/&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:param name=&quot;repo_field&quot;/&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div><span style="white-space:pre"></span></div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:choose&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:when test=&quot;$repo_field = 'dates'&quot;&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:element name=&quot;date&quot;&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:apply-templates select=&quot;.&quot;/&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:element&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:element name=&quot;date_type&quot;&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <b style="">&nbsp; &lt;xsl:choose&gt;</b></div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div><b><span style="white-space:pre"></span>&lt;xsl:when test=&quot;$name='publication-date'&quot;&gt;published&lt;/xsl:when&gt;</b></div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:when test=&quot;$name='acceptance-date'&quot;&gt;accepted&lt;/xsl:when&gt;</b></div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:when test=&quot;$name='filed-date'&quot;&gt;filed&lt;/xsl:when&gt;</b></div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:when test=&quot;$name='online-publication-date'&quot;&gt;published_online&lt;/xsl:when&gt;</b></div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:choose&gt;</b></div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:element&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:when&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:otherwise&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xsl:apply-templates select=&quot;.&quot; /&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:otherwise&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/xsl:choose&gt;</div>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
              40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                  40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                    40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                      40px;border:none;padding:0px">
<blockquote style="margin:0 0 0
                        40px;border:none;padding:0px">
<div>
<div>&nbsp; &nbsp; &lt;/xsl:template&gt;</div>
</div>
<div><br>
</div>
<div><br>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
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:
<div><br>
</div>
<div>&lt;/xsl:when&gt;&nbsp; test=&quot;$name='publication-date' and type='presentation_material'&gt;presented&lt;/xsl:when&gt;</div>
<div><br>
</div>
<div>but I'm struggling to access the item type. I'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.</div>
<div><br>
</div>
<div>This isn't particularly urgent or even essential, but if anybody has some advice I'd appreciate it.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>James</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cd6df61610aca4b04c4e008d6610e08f6%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=lAPUqhRId2y69AQfCkEj7EN5ugDOxB44eAnEVLU7pCw%3D&amp;reserved=0" originalsrc="http://www.eprints.org/tech.php/" shash="K6ChWrNIDCyPvsXc6J&#43;O1BsH8n&#43;GGFOk7UahNrp/aYyxn/RijgboWqdvQzUxrjt4G83Q3M22Dsh4XZ/8jHtr7/4B4kG/WNJmPLuZ/5p6KnhJ1&#43;J6NhNm1SFTAg5/YdIoRkCyC8lFPR6nr7kME/MOMFhUFiwWwBkXBTsZ/DUbIgA=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cd6df61610aca4b04c4e008d6610e08f6%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=L%2FQGdPf87I2Jq%2BwakZZfYmhI9Tf85811%2B21TkcexcYQ%3D&amp;reserved=0" originalsrc="http://wiki.eprints.org/" shash="qI8v9VbgUUSZthSP0U/Nc2EhbxkDdczImj/xa2rt5/P&#43;L/HIPF&#43;pnGqNw2IaTcFQ9VbrjIP3tDMYv54YM/3qCf0FGz6L4BLw/JhNPihla3XYjngt4Y&#43;PYdBXa6TsTFd2s4AeSKcbHgM03xQzgQ8DU7MBlPYSE2phxMlrlyap7o4=">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7C%7Cd6df61610aca4b04c4e008d6610e08f6%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=mvokNxr9bJMhxWBqKzR44hSo6mH6JIBz2NwIGeEGbGA%3D&amp;reserved=0" originalsrc="http://forum.eprints.org/" shash="Lc1Hz&#43;Jz1EUhZK5gJ/hi80c79ZFYLoKrRfLFJXM2aGjE&#43;/9ZYEu2GHlvE6LpFIKQWn21aguOw8Ku7cb4/8CXDPiMzyQ0&#43;6IqjbvJDba0xzqBQJNHNm8QmrvnP74uhx8EPWMOjNqt1PmA7ZirVwTssFFlRF1QFGFKdxf429816Q4=">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Christopher Gutteridge <a class="moz-txt-link-rfc2396E" href="mailto:totl@soton.ac.uk">&lt;totl@soton.ac.uk&gt;</a> 
You should read our team blog at <a class="moz-txt-link-freetext" href="http://blog.soton.ac.uk/webteam/">http://blog.soton.ac.uk/webteam/</a></pre>
</body>
</html>