On Tue, Apr 14, 2020 at 10:03:53AM +0200, Jürgen Purtz wrote:
> The example "XSLT Stylesheet for Converting SQL/XML Output to HTML" is
> tagged as <figure>, but it isn't a figure, it's an example script. The PDF
> output contains lists for examples, figures and tables and shows it in the
> wrong list. We should change the tagging.

Agreed.  Backpatched through 9.5.  Thanks.

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


> 
> 
> Jürgen P.
> 
> 

> diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
> index 7a270eb0ab..2f1cf46c2a 100644
> --- a/doc/src/sgml/func.sgml
> +++ b/doc/src/sgml/func.sgml
> @@ -11499,7 +11499,7 @@ table2-mapping
>      converted into other XML-based formats.
>     </para>
>  
> -   <figure id="xslt-xml-html">
> +   <example id="xslt-xml-html">
>      <title>XSLT Stylesheet for Converting SQL/XML Output to HTML</title>
>  <programlisting><![CDATA[
>  <?xml version="1.0"?>
> @@ -11547,7 +11547,7 @@ table2-mapping
>  
>  </xsl:stylesheet>
>  ]]></programlisting>
> -   </figure>
> +   </example>
>    </sect2>
>   </sect1>
>  


-- 
  Bruce Momjian  <br...@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


Reply via email to