beaad6ac31022179c44d88536811e9ccd9425696nd<?xml version="1.0"?>
beaad6ac31022179c44d88536811e9ccd9425696nd
beaad6ac31022179c44d88536811e9ccd9425696nd<!--
db878466c5e95073429dda0bdd001f45e9486e16fielding Licensed to the Apache Software Foundation (ASF) under one or more
db878466c5e95073429dda0bdd001f45e9486e16fielding contributor license agreements. See the NOTICE file distributed with
db878466c5e95073429dda0bdd001f45e9486e16fielding this work for additional information regarding copyright ownership.
db878466c5e95073429dda0bdd001f45e9486e16fielding The ASF licenses this file to You under the Apache License, Version 2.0
db878466c5e95073429dda0bdd001f45e9486e16fielding (the "License"); you may not use this file except in compliance with
db878466c5e95073429dda0bdd001f45e9486e16fielding the License. You may obtain a copy of the License at
beaad6ac31022179c44d88536811e9ccd9425696nd
beaad6ac31022179c44d88536811e9ccd9425696nd http://www.apache.org/licenses/LICENSE-2.0
beaad6ac31022179c44d88536811e9ccd9425696nd
beaad6ac31022179c44d88536811e9ccd9425696nd Unless required by applicable law or agreed to in writing, software
beaad6ac31022179c44d88536811e9ccd9425696nd distributed under the License is distributed on an "AS IS" BASIS,
beaad6ac31022179c44d88536811e9ccd9425696nd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
beaad6ac31022179c44d88536811e9ccd9425696nd See the License for the specific language governing permissions and
beaad6ac31022179c44d88536811e9ccd9425696nd limitations under the License.
beaad6ac31022179c44d88536811e9ccd9425696nd-->
beaad6ac31022179c44d88536811e9ccd9425696nd
01c674544bd4c211141bcd9fb09b96ffc18c6c3dnd<!DOCTYPE xsl:stylesheet [
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!ENTITY lf SYSTEM "util/lf.xml">
01c674544bd4c211141bcd9fb09b96ffc18c6c3dnd]>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd<xsl:stylesheet version="1.0"
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd xmlns="http://www.w3.org/1999/xhtml">
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- -->
a8bc9b37495d26276b0e506d644a07f32ad95626rbowen<!-- Three columns, select where the particular categories shall be -->
a8bc9b37495d26276b0e506d644a07f32ad95626rbowen<!-- placed. (Order is irrelevant, they're placed in document order) -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:variable name="indexpage-column1" select="'
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd release
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd manual
7e68fce3cbd2246164e045a51ecd77f9f26680ednd'"/>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:variable name="indexpage-column2" select="'
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd usersguide
7e68fce3cbd2246164e045a51ecd77f9f26680ednd'"/>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:variable name="indexpage-column3" select="'
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd howto
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd platform
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd other
7e68fce3cbd2246164e045a51ecd77f9f26680ednd'"/>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- <indexpage> -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- Process an entire document into an HTML page -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:template match="/indexpage">
66e48875fca2df6669dab4f2690ee36c6913c0ffnd<html xml:lang="{$doclang}" lang="{$doclang}">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:call-template name="head"/>&lf;
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <body id="index-page">&lf;
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:call-template name="top"/>&lf;
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <div id="page-content">
f1110149b5b6c28ecc39d1958d98ad9cfa8e41f3nd <xsl:call-template name="retired" />
f1110149b5b6c28ecc39d1958d98ad9cfa8e41f3nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <h1>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="title"/>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </h1>&lf;
f5f948a91315652103ddae08be22d76f63ba96d4nd
8cfbcde8e416fd60132dd4324c42a5098da156cfnd <xsl:call-template name="langavail" />&lf;
8cfbcde8e416fd60132dd4324c42a5098da156cfnd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <form>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:call-template name="search.spec" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </form>&lf;
f5f948a91315652103ddae08be22d76f63ba96d4nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <table id="indextable">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <tr>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <td class="col1">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:apply-templates
7e68fce3cbd2246164e045a51ecd77f9f26680ednd select="category[contains($indexpage-column1, @id)]" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </td>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <td>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:apply-templates
7e68fce3cbd2246164e045a51ecd77f9f26680ednd select="category[contains($indexpage-column2, @id)]" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </td>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <td class="col3">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:apply-templates
7e68fce3cbd2246164e045a51ecd77f9f26680ednd select="category[contains($indexpage-column3, @id)]" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </td>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </tr>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </table>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </div>&lf; <!-- /#page-content -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:call-template name="bottom" />&lf;
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </body>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</html>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</xsl:template>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /indexpage -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- category/page -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:template match="indexpage/category/page">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<li>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="@separate='yes'">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:attribute name="class">separate</xsl:attribute>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </xsl:if>
f5f948a91315652103ddae08be22d76f63ba96d4nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:choose>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:when test="@href">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <a href="{@href}">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:call-template name="helper.uri.fix">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:with-param name="uri" select="@href"/>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </xsl:call-template>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="." />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </a>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </xsl:when>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:otherwise>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="." />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </xsl:otherwise>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </xsl:choose>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</li>&lf;
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</xsl:template>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /category/page -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- Process a indexpage category -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:template match="indexpage/category">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<div class="category">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- Section heading -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <h2>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="@id">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <a id="{@id}" name="{@id}">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:apply-templates select="title" mode="print" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </a>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </xsl:if>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="not(@id)">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:apply-templates select="title" mode="print" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </xsl:if>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </h2>&lf;
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- category body -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <ul>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:apply-templates select="page" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd </ul>&lf;
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</div> <!-- /.section -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</xsl:template>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /category -->
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- search specification -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- hidden fields are taken from the advanced search page -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:template name="search.spec">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:attribute name="method">get</xsl:attribute>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:attribute name="action">http://www.google.com/search</xsl:attribute>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:if test="$ext-target">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:attribute name="target">_blank</xsl:attribute>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</xsl:if>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<p>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- search google: -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- with all of the words -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="text" value="" name="as_q" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:text> </xsl:text>
66e48875fca2df6669dab4f2690ee36c6913c0ffnd <input type="submit" value="{$message[@id='search']}" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- the specified number of results -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="num" value="10" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- the current displayed language -->
66e48875fca2df6669dab4f2690ee36c6913c0ffnd <input type="hidden" name="hl" value="{$doclang}" />
bdbf46e4950b6f633073f803486962e82c2f086and
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- the current document encoding for input (?) -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="ie" value="{$output-encoding}" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- (submit the original button and name) -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="btnG" value="Google Search" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
b51bf223f42d43ca6b1b33c95124edcfa5a871a4nd <!-- including the exact phrase "Version major.minor" -->
f36af6370d0850bf789703e852778d8e8ceefd20nd <input type="hidden" value="{normalize-space($message[@id='version'])}"
b51bf223f42d43ca6b1b33c95124edcfa5a871a4nd name="as_epq" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- with at least one of the words (none) -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" value="" name="as_oq" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- without the phrase "List-Post" (to exclude the mail archives) -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" value="&quot;List-Post&quot;" name="as_eq" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- return results written in (any) language -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="lr" value="" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- and any format -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="as_ft" value="i" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="as_filetype" value="" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- updated anytime -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="as_qdr" value="all" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- where the result appears anywhere in the document -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="as_occt" value="any" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- only from httpd.apache.org -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="as_dt" value="i" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="as_sitesearch" value="httpd.apache.org" />
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- turn off "safe" mode -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <input type="hidden" name="safe" value="off" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</p>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd</xsl:template>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /search.spec -->
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd</xsl:stylesheet>