Re: XML

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: couloir007(at)yahoo(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: XML
Date: 2005-07-24 16:37:55
Message-ID: c7550b977ce9217f8046d7790a8df077@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Jul 18, 2005, at 6:19 PM, Sean Montague wrote:

> If I wanted to store the below XML in a text field, would I be able to
> insert additional attributes, and/or be able to substitute the id of
> the inner g tag when querying it from the database. For example:
>
> From:
> <g id="myGtag>
> <g id="myGtag2">
> <\g>
> <\g>
>
> To:
> <g id="myGtag>
> <g id="Button1a" onClick="click1();" >
> <\g>
> <\g>

You might want to look at contrib/xml2 in the distribution (assuming
8.x).

Here are a couple of links:
http://www.throwingbeans.org/tech/postgresql_and_xml.html
http://www.throwingbeans.org/postgresql_and_xml_updated.html

Sean

In response to

  • XML at 2005-07-18 22:19:49 from Sean Montague

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Avila 2005-07-24 16:59:48 Utility to Convert MySQL to PostgreSQL
Previous Message Sean Davis 2005-07-23 14:36:42 Re: Possible problem when two clients update the same record?