<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0">

  <xsl:template name="collectionSearch">
    <xsl:param name="listCommand" />

    <xsl:variable name="moduleURL">/<xsl:value-of select="/Root/App" />/<xsl:value-of select="/Root/Area" />?c=</xsl:variable>

    <div id="search_box">
      <form method='get' action='{$moduleURL}' >
      <input type="hidden" name="c" value="{$listCommand}" />
        <label>Search: </label>
        <input type='text' name='query' value="{/Root/Params/query}" />
        &#160;<input type='submit' value='submit' />
      </form>
    </div>

  </xsl:template>

</xsl:stylesheet>
