From: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
---|---|
To: | Arvind Sharma <arvind321(at)yahoo(dot)com> |
Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: PG-9.0 - XML Data in a Column |
Date: | 2011-09-26 19:46:03 |
Message-ID: | CAK3UJRF-NJ5VOHwsxcRCj-kgtMvSi+sWTD65nPK6gzP-VbAzBA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Thu, Sep 22, 2011 at 6:02 PM, Arvind Sharma <arvind321(at)yahoo(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Hany ABOU-GHOURY | 2011-09-26 20:08:01 | Refreshing (update) tables in Dev Database in <Host2> from production database on <Host1> |
Previous Message | Arvind Sharma | 2011-09-26 12:35:39 | Re: PG-9.0 - XML Data in a Column |