Re: Changing xml in a database

From: "John Gray" <jgray(at)azuli(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing xml in a database
Date: 2003-11-11 23:03:01
Message-ID: borq2s$14ng$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 11 Nov 2003 11:02:51 +0000, C G wrote:

> Dear All,
>
> I have installed the contrib xml package and have it working, but I would
> like some advice on the best way to use it. In particular, how should I
> alter xml files? For instance, if I have:
>

There's no way at present. The support in contrib/xml is really intended
for querying document stores in which each document is updated as a whole.
There are other PG/XML solutions available which decompose XML documents
into database tables which might be better for your application, eg.
Xpsql (which I confess I've never had time to look at!):

http://gborg.postgresql.org/project/xpsql/projdisplay.php

In general, contrib/xml treats xml documents as blocks of text with XPath
queries. It was really meant as a proof of concept (which happens to work
in production :-)

Regards

John

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam Haberlach 2003-11-11 23:03:21 Re: RHEL
Previous Message Joe Conway 2003-11-11 22:01:06 Re: Proposal for a cascaded master-slave replication system