pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Nikolay Samokhvalov <samokhvalov@gmail.com>
To: Jim Jones <jim.jones@uni-muenster.de>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: [PATCH] Add pretty-printed XML output option
Date: Sat, 18 Feb 2023 19:09:34 +0100
Message-ID: <d79950fd-b3f5-783c-919a-a95de23c0c2c@enterprisedb.com> (raw)
In-Reply-To: <CANNMO+L5X2ynyXL2RK7gTVA-pj=Z8o8FCCr6RwLfRK_LinjSbg@mail.gmail.com>
References: <2f5df461-dad8-6d7d-4568-08e10608a69b@uni-muenster.de>
	<62643598-b80d-90f4-8901-b85dccadf4c4@enterprisedb.com>
	<CANNMO+Kwb4_87G8qDeN+Vk1B1vX3HvgoGW+13fJ-b6rj7qbAww@mail.gmail.com>
	<beb5a47d-4684-4b2f-8647-bacb6bd60acf@uni-muenster.de>
	<CANNMO+L5X2ynyXL2RK7gTVA-pj=Z8o8FCCr6RwLfRK_LinjSbg@mail.gmail.com>

On 17.02.23 23:24, Nikolay Samokhvalov wrote:
> 
> My idea was to follow the SQL standard (part 14, SQL/XML); 
> unfortunately, there is no free version, but there are drafts at 
> http://www.wiscorp.com/SQLStandards.html 
> <http://www.wiscorp.com/SQLStandards.html;.
> 
> <XML character string serialization> ::= XMLSERIALIZE <left paren> [ 
> <document or content> ]
> 
> <XML value expression> AS <data type> [ <XML serialize bom> ] [ <XML 
> serialize version> ] [ <XML declaration option> ]
> 
> [ <XML serialize indent> ] <right paren>
> 
> <XML serialize indent> ::= [ NO ] INDENT

Good find.  It would be better to use this standard syntax.





view thread (70+ messages)  latest in thread

Message-ID: <d79950fd-b3f5-783c-919a-a95de23c0c2c@enterprisedb.com>
Permalink:  ../d79950fd-b3f5-783c-919a-a95de23c0c2c@enterprisedb.com/
Also on:    postgresql.org/message-id/d79950fd-b3f5-783c-919a-a95de23c0c2c@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@enterprisedb.com, samokhvalov@gmail.com, jim.jones@uni-muenster.de, pgsql-hackers@lists.postgresql.org
  Subject: Re: [PATCH] Add pretty-printed XML output option
  In-Reply-To: <d79950fd-b3f5-783c-919a-a95de23c0c2c@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox