]> granicus.if.org Git - postgis/commitdiff
Add special section listing new functions in this release. Get rid of note tag aroun...
authorRegina Obe <lr@pcorp.us>
Fri, 13 Feb 2009 19:23:22 +0000 (19:23 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 13 Feb 2009 19:23:22 +0000 (19:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3704 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_new.xml
doc/xsl/postgis_aggs_mm.xml.xsl

index 0fc87e3509c152fb66fd32b14f54dee183c7457a..1cbab74819245170c1bb6198d3d92f8f3fef22d1 100644 (file)
@@ -7609,9 +7609,7 @@ st_asgeojson
                
                <para>The two-parameter variant of ST_GeoHash returns a GeoHash with a requested precision. For non-points, the starting point of the calculation is the center of the bounding box of the geometry.</para>
 
-               <note>
-                 <para>Availability: 1.4.0</para>
-               </note>
+               <para>Availability: 1.4.0</para>
 
                <note>
                        <para>ST_GeoHash will not work with geometries that are not in geographic (lon/lat) coordinates.</para>
index 7cadd0bc9431e4650bdd5625887381f449ea054f..23de4e106cfb019b44d94f971afe072e61e602a8 100644 (file)
                                </xsl:for-each>\r
                                </itemizedlist>\r
                </sect1>\r
+               \r
+               <sect1>\r
+                       <title>PostGIS Functions new in 1.4</title>\r
+                       <para>The functions given below are PostGIS functions that were introduced in this major release.</para>\r
+                       <itemizedlist>\r
+                       <!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment  -->\r
+                               <xsl:for-each select='sect1/refentry'>\r
+                                       <xsl:sort select="@id"/>\r
+                                       <xsl:variable name='comment'>\r
+                                               <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'&#x0d;&#x0a;', ' '), '&#09;', ' '))"/>\r
+                                       </xsl:variable>\r
+                                       <xsl:variable name="refid">\r
+                                               <xsl:value-of select="@id" />\r
+                                       </xsl:variable>\r
+                               \r
+                       <!-- For each section if there is note about availability in this version -->\r
+                                               <xsl:for-each select="refsection">\r
+                                                       <xsl:for-each select="para">\r
+                                                               <xsl:choose>\r
+                                                                       <xsl:when test="contains(.,'Availability: 1.4')">\r
+                                                                               <listitem><link linkend="{$refid}"><xsl:value-of select="$refid" /></link> - <xsl:value-of select="$comment" /> <xsl:value-of select="." /></listitem>\r
+                                                                       </xsl:when>\r
+                                                               </xsl:choose>\r
+                                                       </xsl:for-each>\r
+                                               </xsl:for-each>\r
+                               </xsl:for-each>\r
+                               </itemizedlist>\r
+               </sect1>\r
        </chapter>\r
        </xsl:template>\r
 \r