sitemap.xsl revision 8cfbcde8e416fd60132dd4324c42a5098da156cf
7e68fce3cbd2246164e045a51ecd77f9f26680ednd/* ====================================================================
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * The Apache Software License, Version 1.1
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * reserved.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * Redistribution and use in source and binary forms, with or without
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * modification, are permitted provided that the following conditions
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * are met:
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * 1. Redistributions of source code must retain the above copyright
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * notice, this list of conditions and the following disclaimer.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * 2. Redistributions in binary form must reproduce the above copyright
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * notice, this list of conditions and the following disclaimer in
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * the documentation and/or other materials provided with the
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * distribution.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * 3. The end-user documentation included with the redistribution,
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * if any, must include the following acknowledgment:
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * "This product includes software developed by the
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * Apache Software Foundation (http://www.apache.org/)."
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * Alternately, this acknowledgment may appear in the software itself,
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * if and wherever such third-party acknowledgments normally appear.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * 4. The names "Apache" and "Apache Software Foundation" must
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * not be used to endorse or promote products derived from this
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * software without prior written permission. For written
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * permission, please contact apache@apache.org.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * 5. Products derived from this software may not be called "Apache",
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * nor may "Apache" appear in their name, without prior written
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * permission of the Apache Software Foundation.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * SUCH DAMAGE.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * ====================================================================
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * This software consists of voluntary contributions made by many
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * individuals on behalf of the Apache Software Foundation. For more
7e68fce3cbd2246164e045a51ecd77f9f26680ednd * information on the Apache Software Foundation, please see
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- If we use document() in the context of this xsl file, the contextual -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- CWD is the xsl file containing directory. $basedir reflects the -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- manual root for that case. -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- <sitemap> -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- Process an entire document into an HTML page -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<html xml:lang="{$messages/@lang}" lang="{$messages/@lang}">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="(not($is-chm) and count(category) > 1) or seealso">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd [@name='seealso']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /sitemap -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- Process a sitemap category -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- Category title -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- category body -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- optional ... -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /category -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- insert module list into sitemap -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd select="document(concat($basedir,'mod/',.))/modulesynopsis" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachecore']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachempmcommon']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:sort select="substring-before(substring-after($translist, concat('- ',
7e68fce3cbd2246164e045a51ecd77f9f26680ednd document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:variable name="current" select="document(concat($basedir, 'mod/', .))
7e68fce3cbd2246164e045a51ecd77f9f26680ednd /modulesynopsis" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="$current/status='MPM' and $current/name!='mpm_common'">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:variable name="name" select="substring-before(substring-after(
7e68fce3cbd2246164e045a51ecd77f9f26680ednd $translist, concat('- ', $current/name, ' ')), ' -')" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachempm']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:sort select="substring-before(substring-after($translist, concat('- ',
7e68fce3cbd2246164e045a51ecd77f9f26680ednd document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')"/>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:variable name="current" select="document(concat($basedir,'mod/',.))
7e68fce3cbd2246164e045a51ecd77f9f26680ednd /modulesynopsis" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="$current/status!='MPM' and $current/status!='Core'">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachemodule']"/>