[SCM] PostGIS branch master updated. 3.4.0rc1-776-gf0c64c950

git at osgeo.org git at osgeo.org
Thu Nov 16 22:53:37 PST 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  f0c64c9504156a09fc7b993ca84654d67a5e0617 (commit)
      from  86e698565bd5cf13a95fc70199f7e3d51a92c769 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f0c64c9504156a09fc7b993ca84654d67a5e0617
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Nov 17 07:46:58 2023 +0100

    Adapt new functions list generator XSL to DocBook 5.0
    
    Use appropriate namespaces, fixing generation of the
    list_new_functions.xsl.xml which ends up being published in
    https://postgis.net/docs/manual-dev/PostGIS_Special_Functions_Index.html
    
    This is a follow up of acdfda8eca2c212179c16801bf07fcb3deb6f8c9
    
    Closes #5613

diff --git a/doc/xsl/list_new_functions.xml.xsl b/doc/xsl/list_new_functions.xml.xsl
index ef1b3c1f6..2187572eb 100644
--- a/doc/xsl/list_new_functions.xml.xsl
+++ b/doc/xsl/list_new_functions.xml.xsl
@@ -59,7 +59,7 @@
 				<xsl:variable name='tag_role' select="$tag_node/@role" />
 
 				<!-- { -->
-				<xsl:if test="$chap//para[@role=$tag_role and starts-with(./@conformance, $ver)]">
+				<xsl:if test="$chap//db:para[@role=$tag_role and starts-with(./@conformance, $ver)]">
 
 				<para>
 				<xsl:value-of select="substring-before($tag_para, '%')" />
@@ -71,10 +71,13 @@
 				<!-- 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="$chap//db:refentry">
+
 						<xsl:sort select="db:refnamediv/db:refname"/>
+
 						<xsl:variable name='comment'>
 							<xsl:value-of select="normalize-space(translate(translate(db:refnamediv/db:refpurpose,'&#x0d;&#x0a;', ' '), '	', ' '))"/>
 						</xsl:variable>
+
 						<xsl:variable name="refid">
 							<xsl:value-of select="@id" />
 						</xsl:variable>
@@ -84,8 +87,8 @@
 						</xsl:variable>
 
 						<!-- For each section if there is note about availability in this version -->
-						<xsl:for-each select="refsection">
-							<xsl:for-each select=".//para[@role=$tag_role and starts-with(./@conformance, $ver)]">
+						<xsl:for-each select="db:refsection">
+							<xsl:for-each select=".//db:para[@role=$tag_role and starts-with(./@conformance, $ver)]">
 								<listitem>
 									<simpara>
 										<link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="." /><xsl:text> </xsl:text> <xsl:value-of select="$comment" />

-----------------------------------------------------------------------

Summary of changes:
 doc/xsl/list_new_functions.xml.xsl | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list