[postgis-commits] svn - r3027 - trunk/doc/xsl
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Mon Sep 29 09:20:42 PDT 2008
Author: robe
Date: 2008-09-29 09:20:42 -0700 (Mon, 29 Sep 2008)
New Revision: 3027
Modified:
trunk/doc/xsl/postgis_aggs_mm.xml.xsl
Log:
change to sort functions alphabetically
Modified: trunk/doc/xsl/postgis_aggs_mm.xml.xsl
===================================================================
--- trunk/doc/xsl/postgis_aggs_mm.xml.xsl 2008-09-28 19:48:17 UTC (rev 3026)
+++ trunk/doc/xsl/postgis_aggs_mm.xml.xsl 2008-09-29 16:20:42 UTC (rev 3027)
@@ -18,12 +18,13 @@
<itemizedlist>
<!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment -->
<xsl:for-each select='sect1/refentry'>
- <xsl:variable name='comment'>
- <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'
', ' '), '	', ' '))"/>
- </xsl:variable>
- <xsl:variable name="refid">
- <xsl:value-of select="@id" />
- </xsl:variable>
+ <xsl:sort select="@id"/>
+ <xsl:variable name='comment'>
+ <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'
', ' '), '	', ' '))"/>
+ </xsl:variable>
+ <xsl:variable name="refid">
+ <xsl:value-of select="@id" />
+ </xsl:variable>
<!-- For each function prototype if it takes a geometry set then catalog it as an aggregate function -->
<xsl:for-each select="refsynopsisdiv/funcsynopsis/funcprototype">
@@ -43,12 +44,13 @@
<itemizedlist>
<!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment -->
<xsl:for-each select='sect1/refentry'>
- <xsl:variable name='comment'>
+ <xsl:sort select="@id"/>
+ <xsl:variable name='comment'>
<xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'
', ' '), '	', ' '))"/>
- </xsl:variable>
- <xsl:variable name="refid">
+ </xsl:variable>
+ <xsl:variable name="refid">
<xsl:value-of select="@id" />
- </xsl:variable>
+ </xsl:variable>
<!-- For each section if there is not that it implements SQL/MM catalog it -->
<xsl:for-each select="refsection">
More information about the postgis-commits
mailing list