]> granicus.if.org Git - postgis/commitdiff
Add PostGIS 2.3 what's new section
authorRegina Obe <lr@pcorp.us>
Tue, 8 Dec 2015 06:05:15 +0000 (06:05 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 8 Dec 2015 06:05:15 +0000 (06:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14479 b70326c6-7e19-0410-871a-916f4a2858ee

doc/xsl/postgis_aggs_mm.xml.xsl

index c555744e002268554193fd3e4ed233c23031087a..464bb9b987e41224d23c0aaa902c6cb356c45b4d 100644 (file)
                </para>
           </sect1>
 
-               <sect1 id="NewFunctions">
+          <sect1 id="NewFunctions">
                        <title>New, Enhanced or changed PostGIS Functions</title>
-                               <sect2 id="NewFunctions_2_2">
+                       <sect2 id="NewFunctions_2_3">
+                               <title>PostGIS Functions new or enhanced in 2.3</title>
+                               <para>The functions given below are PostGIS functions that were added or enhanced.</para>
+
+                               <para>Functions new in PostGIS 2.3</para>
+                               <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='//refentry'>
+                                               <xsl:sort select="refnamediv/refname"/>
+                                               <xsl:variable name='comment'>
+                                                       <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'&#x0d;&#x0a;', ' '), '&#09;', ' '))"/>
+                                               </xsl:variable>
+                                               <xsl:variable name="refid">
+                                                       <xsl:value-of select="@id" />
+                                               </xsl:variable>
+                                               
+                                               <xsl:variable name="refname">
+                                                       <xsl:value-of select="refnamediv/refname" />
+                                               </xsl:variable>
+                               
+                               
+                               <!-- For each section if there is note about availability in this version -->
+                                                       <xsl:for-each select="refsection">
+                                                               <xsl:for-each select="para | */para">
+                                                                       <xsl:choose>
+                                                                               <xsl:when test="contains(.,'Availability: 2.3')">
+                                                                                       <listitem><simpara><link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="." /><xsl:text> </xsl:text> <xsl:value-of select="$comment" /></simpara></listitem>
+                                                                               </xsl:when>
+                                                                       </xsl:choose>
+                                                               </xsl:for-each>
+                                                       </xsl:for-each>
+                                       </xsl:for-each>
+                               </itemizedlist>
+
+                       </sect2>
+                       
+                       <sect2 id="NewFunctions_2_2">
                                <title>PostGIS Functions new or enhanced in 2.2</title>
                                <para>The functions given below are PostGIS functions that were added or enhanced.</para>
-       
+                               
                                <note><para>postgis_sfcgal now can be installed as an extension using CREATE EXTENSION postgis_sfcgal;</para></note>
                                <note><para>PostGIS 2.2.0: Tiger Geocoder upgraded to work with TIGER 2015 data.</para></note>
                                <note><para>address_standardizer, address_standardizer_data_us extensions for standardizing address data refer to <xref linkend="Address_Standardizer" /> for details.</para></note>
                                                <xsl:variable name="refname">
                                                        <xsl:value-of select="refnamediv/refname" />
                                                </xsl:variable>
-
-
+                               
+                               
                                <!-- For each section if there is note about availability in this version -->
                                                        <xsl:for-each select="refsection">
                                                                <xsl:for-each select="para | */para">