httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe JAILLET <christophe.jail...@wanadoo.fr>
Subject Re: svn commit: r1793922 - in /httpd/httpd/branches/trunk-override-index/docs/manual: index.xml mod/core.xml mod/overrides.xml sitemap.xml style/css/manual.css style/modulesynopsis.dtd style/xsl/common.xsl style/xsl/overrideindex.xsl
Date Wed, 26 Sep 2018 00:18:57 GMT
Le 05/05/2017 à 00:53, jchampion@apache.org a écrit :
> Author: jchampion
> Date: Thu May  4 22:53:58 2017
> New Revision: 1793922
>
> URL: http://svn.apache.org/viewvc?rev=1793922&view=rev
> Log:
> Add an Override Class Index
>
> This page pulls in directives that declare an <override> element and
> groups them by class. The documentation for each class comes from
> overrides.xml. Any undocumented classes are flagged with a boilerplate
> fallback text (this situation is only likely to occur with a misspelling
> or otherwise invalid <override> somewhere else in the documentation).
>
> Added:
>      httpd/httpd/branches/trunk-override-index/docs/manual/mod/overrides.xml   (with
props)
>      httpd/httpd/branches/trunk-override-index/docs/manual/style/xsl/overrideindex.xsl
  (with props)
> Modified:
>      httpd/httpd/branches/trunk-override-index/docs/manual/index.xml
>      httpd/httpd/branches/trunk-override-index/docs/manual/mod/core.xml
>      httpd/httpd/branches/trunk-override-index/docs/manual/sitemap.xml
>      httpd/httpd/branches/trunk-override-index/docs/manual/style/css/manual.css
>      httpd/httpd/branches/trunk-override-index/docs/manual/style/modulesynopsis.dtd
>      httpd/httpd/branches/trunk-override-index/docs/manual/style/xsl/common.xsl
>

[...]

> Added: httpd/httpd/branches/trunk-override-index/docs/manual/style/xsl/overrideindex.xsl
> URL: http://svn.apache.org/viewvc/httpd/httpd/branches/trunk-override-index/docs/manual/style/xsl/overrideindex.xsl?rev=1793922&view=auto
> ==============================================================================
> --- httpd/httpd/branches/trunk-override-index/docs/manual/style/xsl/overrideindex.xsl
(added)
> +++ httpd/httpd/branches/trunk-override-index/docs/manual/style/xsl/overrideindex.xsl
Thu May  4 22:53:58 2017

[...]

> +
> +<!--
> +    Returns the set of distinct Override classes reported by the passed set of
> +    directives.
> +-->
> +<func:function name="httpd:override-classes">
> +    <xsl:param name="directives" />
> +
> +    <xsl:variable name="overrideValues">
> +        <xsl:for-each select="$directives/override">
> +            <xsl:for-each select="str:split(., ',')">
> +                <value><xsl:value-of select="normalize-space(.)" /></value>
> +            </xsl:for-each>
> +        </xsl:for-each>
> +    </xsl:variable>
> +
> +    <func:result select="set:distinct(exslt:node-set($overrideValues)/*)" />
> +</func:function>
> +
> +</xsl:stylesheet>
>


Shouldn't this be <xsl:function ...> instead of <func:function ...> ?

Saxon complains about it, but apparently Xalan is just fine with it.
Does it work as expected with the current doc build framework?

CJ

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message