]> granicus.if.org Git - postgis/commitdiff
Add 2.2 what's new section
authorRegina Obe <lr@pcorp.us>
Fri, 30 Aug 2013 23:03:09 +0000 (23:03 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 30 Aug 2013 23:03:09 +0000 (23:03 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11893 b70326c6-7e19-0410-871a-916f4a2858ee

doc/xsl/postgis_aggs_mm.xml.xsl

index 9557c8d70aeb58d78ab0afc19a78b9146cfe6e77..4baa8fa8f2637acbbf3332d36c754710d6530a11 100644 (file)
 
                <sect1 id="NewFunctions">
                        <title>New, Enhanced or changed PostGIS Functions</title>
+                               <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>Tiger Geocoder upgraded to work with TIGER 2013 census data. 
+                                       Please refer to <xref linkend="Tiger_Geocoder" /> for more details.</para></note>
+                                       
+                               <para>Functions new in PostGIS 2.2</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.2')">
+                                                                                       <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_1">
                                <title>PostGIS Functions new or enhanced in 2.1</title>
                                <para>The functions given below are PostGIS functions that were added or enhanced.</para>