You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by eg...@apache.org on 2004/03/08 15:17:12 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/xslt/navigation search.xsl
egli 2004/03/08 06:17:12
Added: src/webapp/lenya/xslt/navigation search.xsl
Log:
Search is now handled in a separate xsl.
Revision Changes Path
1.1 cocoon-lenya/src/webapp/lenya/xslt/navigation/search.xsl
Index: search.xsl
===================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="nav"
>
<xsl:param name="area"/>
<xsl:template match="nav:site">
<div id="search">
<a href="{@href}../search-{$area}/lucene"> Search </a>
</div>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org