<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Piet,</p>
<p><br>
</p>
<p>maybe you could use a replace() function on your v264 to replace '&' by 'and' ?<br>
</p>
<p><br>
</p>
<div id="Signature">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Egbert de Smet<br>
Universiteit Antwerpen</div>
</span></font></div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> isis-users <isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org> on behalf of Piet De Keyser <piet.dekeyser@ucll.be><br>
<b>Sent:</b> Tuesday, April 28, 2020 11:02 PM<br>
<b>To:</b> isis-users@iccisis.org<br>
<b>Subject:</b> [Isis-users] linking in iaH when data contains "and"</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Dear colleagues,</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
A link in iaH can be a good idea to allow users to retrieve more of same. I wanted to put a link on the publisher’s name (which is in v264^b in my case). Normally my link would look like this:</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
'<a target="_self"</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
href="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=en&base=CATALOG&nextAction=lnk&exprSearch=', mpu, v264^b,mpl,'&indexSearch=PU">',v264^b,'</a>',</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
but this will give you problems with publisher’s names in which e.g. the word “and” appears (e.g. Tailor and Francis). These data can only be retrieved successfully if they are put between quotation marks: “Tailor and Francis” (because “and” is a Boolean operator).
 Now new problem: putting extra quotation marks in the link messes it up, because it already contains nested quotations marks. My sollution is  to put the field between HTML escape codes (in this case &quot;). Now the link becomes:</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
'<a target="_self"</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
href="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=en&base=CATALOG&nextAction=lnk&exprSearch=', mpu<b>,"&quot;"v264^b"&quot;",</b>mpl,'&indexSearch=PU">',v264^b,'</a>',</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Still one unsolved problem: the downloaded data is not: “Tailor and Francis”, but “Tailor & Francis”. My sollution doesn’t work with “&” in the data, but maybe not everything is soluble…</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Piet de Keyser</p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Belgium</p>
</div>
</div>
</div>
</div>
</body>
</html>