| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2005, 2007 IBM Corporation and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| Contributors: |
| IBM Corporation - initial implementation |
| --> |
| |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> |
| |
| <xsl:param name="searchTitleText"/> |
| <xsl:param name="label1Text"/> |
| <xsl:param name="label2Text"/> |
| <xsl:param name="label3Text"/> |
| <xsl:param name="lable4Text"/> |
| <xsl:param name="searchButtonText"/> |
| |
| <xsl:template match="/Search"> |
| <xsl:variable name="searchTitleText"><xsl:value-of select="@searchTitleText"/></xsl:variable> |
| <xsl:variable name="webAppName"><xsl:value-of select="@webAppName"/></xsl:variable> |
| <html> |
| <head> |
| <title><xsl:value-of select="$searchTitleText"/></title> |
| <script type="text/javascript" language="JavaScript"> |
| var webAppName= '<xsl:value-of select="$webAppName"/>'; |
| </script> |
| </head> |
| <body bgcolor="#FFFFFF"> |
| <form name="searchForm" id="searchForm"> |
| <table align="left" cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td> |
| <input dojoType="Textbox" id="searchInput" type="text" name="searchString" value="" trim="true" ucfirst="false"/> |
| </td> |
| <td> |
| <input type="submit" id="searchButton" style="vertical-align:middle" caption="" value="Search"/> |
| </td> |
| </tr> |
| </table> |
| <div id="results"> </div> |
| </form> |
| </body> |
| </html> |
| </xsl:template> |
| </xsl:stylesheet> |