Re: PG-9.0 - XML Data in a Column - Mailing list pgsql-novice

From Josh Kupershmidt
Subject Re: PG-9.0 - XML Data in a Column
Date
Msg-id CAK3UJRF-NJ5VOHwsxcRCj-kgtMvSi+sWTD65nPK6gzP-VbAzBA@mail.gmail.com
Whole thread Raw
In response to PG-9.0 - XML Data in a Column  (Arvind Sharma <arvind321@yahoo.com>)
List pgsql-novice
On Thu, Sep 22, 2011 at 6:02 PM, Arvind Sharma <arvind321@yahoo.com> wrote:
> Hi,
>
> Is there a way to extract the contents of a column which is nothing but a
> well defined XML blob of data, and to be able to traverse the XML Elements (
> XPath style) using any in-build functions ?
>
> Also, how would I store such a XML blob in a column ?  Declare the column as
> 'VARCHAR(256)' or something else ?
>
> Would this require any special module to be loaded at the Server startup ?
> I am using the PG-9.0 Installer from the official site.

Have you tried the built-in XML datatype and related functions?
  http://developer.postgresql.org/pgdocs/postgres/functions-xml.html

If so, you should clarify specifically what is not working (provide an example).

Josh

pgsql-novice by date:

Previous
From: Arvind Sharma
Date:
Subject: Re: PG-9.0 - XML Data in a Column
Next
From: Hany ABOU-GHOURY
Date:
Subject: Refreshing (update) tables in Dev Database in from production database on