Re: contrib/xml2: add function xml_encode_special_chars - Mailing list pgsql-patches

From Markus Bertheau
Subject Re: contrib/xml2: add function xml_encode_special_chars
Date
Msg-id 1099794997.6074.23.camel@teetnang
Whole thread Raw
In response to Re: contrib/xml2: add function xml_encode_special_chars  (Peter Eisentraut <peter_e@gmx.net>)
List 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@bluetwanger.de>


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Add remove duplicate slashes to canonicalize_path()
Next
From: Reini Urban
Date:
Subject: Re: Add remove duplicate slashes to canonicalize_path()