summaryrefslogtreecommitdiff
path: root/templates/katsomo.fi/search.xsl
blob: 619708dca515ac33be6892651ada30af0963dcea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTf-8"?>

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:str="http://exslt.org/strings"
  exclude-result-prefixes="str">

<xsl:template match="/">
<wvmenu>
  <title>Haku</title>

  <textfield name="query">
    <label>Hakusana</label>
  </textfield>

  <button>
    <label>Hae</label>
    <submission encoding='iso-8859-1'>wvt:///katsomo.fi/searchresults.xsl?srcurl=<xsl:value-of select="str:encode-uri('http://katsomo.fi/search.do?keywords={query}&amp;treeId=33992', true())"/></submission>
  </button>
</wvmenu>
</xsl:template>

</xsl:stylesheet>