Re: An XSLT example script

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jürgen Purtz <juergen(at)purtz(dot)de>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: An XSLT example script
Date: 2020-04-21 01:41:27
Message-ID: 20200421014127.GB19613@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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 <bruce(at)momjian(dot)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 +

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Marc Rechté 2020-04-21 12:49:16 Where is the qualification par in the Query Tree
Previous Message Bruce Momjian 2020-04-21 00:31:29 Re: pgsql: doc: add examples of creative use of unique expression indexes