[postgis-tickets] r14479 - Add PostGIS 2.3 what's new section

Regina Obe lr at pcorp.us
Mon Dec 7 22:05:16 PST 2015


Author: robe
Date: 2015-12-07 22:05:15 -0800 (Mon, 07 Dec 2015)
New Revision: 14479

Modified:
   trunk/doc/xsl/postgis_aggs_mm.xml.xsl
Log:
Add PostGIS 2.3 what's new section

Modified: trunk/doc/xsl/postgis_aggs_mm.xml.xsl
===================================================================
--- trunk/doc/xsl/postgis_aggs_mm.xml.xsl	2015-12-07 22:12:31 UTC (rev 14478)
+++ trunk/doc/xsl/postgis_aggs_mm.xml.xsl	2015-12-08 06:05:15 UTC (rev 14479)
@@ -450,12 +450,48 @@
 		</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;', ' '), '	', ' '))"/>
+						</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>
@@ -475,8 +511,8 @@
 						<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">



More information about the postgis-tickets mailing list