Re: contrib/xml2: add function xml_encode_special_chars

From: Markus Bertheau <twanger(at)bluetwanger(dot)de>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: contrib/xml2: add function xml_encode_special_chars
Date: 2004-11-07 02:36:37
Message-ID: 1099794997.6074.23.camel@teetnang
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

В Вск, 07.11.2004, в 00:55, Peter Eisentraut пишет:
> Markus Bertheau wrote:
> > It calls the similarly named function from libxml2. It replaces
> > characters that carry a special meaning in XML (<, >, &, " and \r)
> > with their respective XML entities.
>
> Where does this fit with the overall scheme of things? I mean, you
> clearly wouldn't call that function on an XML document.

I need this function when I create an XML representation of some data in
a plpgsql function.

--
Markus Bertheau <twanger(at)bluetwanger(dot)de>

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Reini Urban 2004-11-07 08:20:57 Re: cygwin build failure
Previous Message Bruce Momjian 2004-11-07 02:35:56 Re: Add remove duplicate slashes to canonicalize_path()