Exemplo 10 – Consulta utilizando o dicionário de termos

Formulário HTML

[codesyntax lang="html4strict" container="pre"]
<html>
<head><title>Consulta utilizando o dicionário de termos</title></head>
<body>
<h3>Modelo de Pesquisa utilizando o dicionário de termos</h3>
<form action="/cgi-bin/wxis.exe" method="post">
 <input type="hidden" name="IsisScript" value="curso/script10.xis">
  Digite uma palavra ou raiz para percorrer o dicionário de termos
 <input type="Text" name="raiz">
 <input type="submit" value="pesquisar">
</form>
</body>
</html>
[/codesyntax]

Script

[codesyntax lang="html4strict" container="pre"]
<IsisScript>
<section>
<display><pft>'Content-type: text/html'/#</pft></display>
<field action="cgi" tag="2000">raiz</field>
<parm name="cipar">
<pft>
 'LIVRO.*=C:\bases\livro\livro.*'/
 'GIZMO.*=C:\bases\gizmo\asc2ans.*'/
</pft>
</parm>
<do task="keyrange">
 <parm name="db">LIVRO</parm>
 <parm name="gizmo">GIZMO</parm>
 <parm name="from"><pft>v2000</pft></parm>
 <parm name="to"><pft>v2000'zzz'</pft></parm>
<field action="define" tag="1">Isis_Key</field>
<field action="define" tag="2">Isis_Postings</field>
<display>
<form action="/cgi-bin/wxis.exe" method="post">
<input type="hidden" name="IsisScript" value="curso/script9.xis">
<select name="expressao1">
</display>
<loop>
<display>
<pft>
'<option value="' v1 '">'
'['v2'] ' v1'<br>'
</pft>
</display>
</loop>
<display>
</select>
<input type="submit" value="pesquisar">
</form>
</display>
</do>
</section>
</IsisScript>
[/codesyntax]

Was this helpful?

0 / 0

Deixe uma resposta 0

Your email address will not be published. Required fields are marked *