sitemap.xsl revision 01c674544bd4c211141bcd9fb09b96ffc18c6c3d
9a658bb3989694b409e700f2842c892224fc9700nd <!-- document() works relative to the xsl (!) file -->
9a658bb3989694b409e700f2842c892224fc9700nd <!-- <sitemap> -->
9a658bb3989694b409e700f2842c892224fc9700nd <!-- Process an entire document into an HTML page -->
9a658bb3989694b409e700f2842c892224fc9700nd <html xml:lang="{$messages/@lang}" lang="{$messages/@lang}">
9a658bb3989694b409e700f2842c892224fc9700nd <!-- category index -->
9a658bb3989694b409e700f2842c892224fc9700nd <xsl:value-of select="$messages/message[@name='seealso']"/>
9a658bb3989694b409e700f2842c892224fc9700nd <!-- Process a sitemap category -->
9a658bb3989694b409e700f2842c892224fc9700nd <!-- Section heading -->
9a658bb3989694b409e700f2842c892224fc9700nd <!-- category body -->
9a658bb3989694b409e700f2842c892224fc9700nd <!-- /category -->
9a658bb3989694b409e700f2842c892224fc9700nd <!-- insert module list into sitemap -->
4489f0b54d190e8ac29906e1071bbad6c49de17end <!-- create our own translation list first -->
9a658bb3989694b409e700f2842c892224fc9700nd <xsl:variable name="current" select="document(concat($basedir,'mod/',.))/modulesynopsis" />
4489f0b54d190e8ac29906e1071bbad6c49de17end <!-- put core and mpm_common on top -->
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:value-of select="$messages/message[@name='apachecore']"/>
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:value-of select="$messages/message[@name='apachempmcommon']"/>
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:sort select="substring-before(substring-after($translist, concat('- ', document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')"/>
9a658bb3989694b409e700f2842c892224fc9700nd <xsl:variable name="current" select="document(concat($basedir,'mod/',.))/modulesynopsis" />
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:if test="$current/status='MPM' and $current/name!='mpm_common'">
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:variable name="name" select="substring-before(substring-after($translist, concat('- ', $current/name, ' ')), ' -')"/>
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:value-of select="$messages/message[@name='apachempm']"/>
4489f0b54d190e8ac29906e1071bbad6c49de17end <!-- /core, mpm -->
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:sort select="substring-before(substring-after($translist, concat('- ', document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')"/>
3c56725151a46fef84ce376d709b5339da28e10fnd <xsl:variable name="current" select="document(concat($basedir,'mod/',.))/modulesynopsis" />
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:if test="$current/status!='MPM' and $current/status!='Core' and $current/status!='Obsolete'">
4489f0b54d190e8ac29906e1071bbad6c49de17end <xsl:value-of select="$messages/message[@name='apachemodule']"/>
4489f0b54d190e8ac29906e1071bbad6c49de17end <!-- /other modules -->