Re: An XSLT example script - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: An XSLT example script
Date
Msg-id 20200421014127.GB19613@momjian.us
Whole thread Raw
In response to An XSLT example script  (Jürgen Purtz <juergen@purtz.de>)
List 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@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 +



pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: doc: add examples of creative use of unique expressionindexes
Next
From: Marc Rechté
Date:
Subject: Where is the qualification par in the Query Tree