]> granicus.if.org Git - postgis/commitdiff
Operator check in wrong segment of xpath
authorRegina Obe <lr@pcorp.us>
Fri, 30 Jan 2009 13:44:52 +0000 (13:44 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 30 Jan 2009 13:44:52 +0000 (13:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3593 b70326c6-7e19-0410-871a-916f4a2858ee

doc/xsl/postgis_comments.sql.xsl
doc/xsl/postgis_gardentest.sql.xsl

index cfa7ab9f6e5c20ecad2ef28d647078229cbab60f..6439398f465764b5a35c3178e9dd23bd67d39808 100644 (file)
@@ -12,7 +12,7 @@
        <xsl:template match='/chapter'>\r
                <xsl:variable name="ap"><xsl:text>'</xsl:text></xsl:variable>\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[not(contains(@id,'Operator'))]">\r
+               <xsl:for-each select="sect1[not(contains(@id,'Operator'))]/refentry">\r
                  <xsl:variable name='plaincomment'>\r
                        <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'&#x0d;&#x0a;', ' '), '&#09;', ' '))"/>\r
                  </xsl:variable>\r
index 51885e729e02150443f9affab228a4a4c1fb0c38..beb34c9d80659edf16e786c39e8c2ba2f0678dc5 100644 (file)
@@ -163,7 +163,7 @@ SELECT 'create,insert,drop Test: Start Testing Multi/<xsl:value-of select="@Geom
        </xsl:text>\r
                </xsl:for-each>\r
 <!--End Test table creation, insert, drop -->\r
-               <xsl:for-each select="sect1/refentry[not(contains(@id,'Operator'))]">\r
+               <xsl:for-each select="sect1[not(contains(@id,'Operator'))]/refentry">\r
                <xsl:sort select="@id"/>\r
 \r
                        <xsl:for-each select="refsynopsisdiv/funcsynopsis/funcprototype">\r