agora inbox for pgsql-general@postgresql.org  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Färber, Franz-Josef (StMUK) <Franz-Josef.Faerber@stmuk.bayern.de>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: AW: Extract text from XML, pay attention to XML Entities
Date: Tue, 29 Sep 2026 08:48:45 -0700
Message-ID: <ed34652f-62ad-4b64-a12f-cb4640dfeeeb@aklaver.com> (raw)
In-Reply-To: <ed1a375c6fe6475892ac1e222cb463bd@stmuk.bayern.de>
References: <615fa488caa2422393498300d476dcc0@stmuk.bayern.de>
	<4ba2604dc46b4f58ad500febc7f6e895@stmuk.bayern.de>
	<CAKFQuwYa3reOXUAtf_CqBbC5P1FOwyzrkFK0uxochhcpGXrx-A@mail.gmail.com>
	<ed1a375c6fe6475892ac1e222cb463bd@stmuk.bayern.de>

On 9/29/26 6:12 AM, Färber, Franz-Josef (StMUK) wrote:
> Hello David,
> 
> Thanks for your reply.
> 
> It’s just strange and unfortunate that
> 
> a) Postgres does not offer a simple solution

I think you are left with from here:

https://www.postgresql.org/docs/current/xml2.html

"If you find that some of the functionality of this module is not 
available in an adequate form with the newer API, please explain your 
issue to <pgsql-hackers@lists.postgresql.org> so that the deficiency can 
be addressed."


> 
> b) Postgres had indeed offered a simple solution, xml_string, in the 
> xml2 extension, which is deprecated (and won't deal with namespaces).
> 
> Regards,
> 
> Franz-Josef Färber
-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (2+ messages)

Message-ID: <ed34652f-62ad-4b64-a12f-cb4640dfeeeb@aklaver.com>
Permalink:  ../ed34652f-62ad-4b64-a12f-cb4640dfeeeb@aklaver.com/
Also on:    postgresql.org/message-id/ed34652f-62ad-4b64-a12f-cb4640dfeeeb@aklaver.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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, Franz-Josef.Faerber@stmuk.bayern.de, david.g.johnston@gmail.com, pgsql-general@lists.postgresql.org
  Subject: Re: AW: Extract text from XML, pay attention to XML Entities
  In-Reply-To: <ed34652f-62ad-4b64-a12f-cb4640dfeeeb@aklaver.com>

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

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