Re: Parsing XML data into PostgreSQL using PHP

From: Gunther Schadow <gunther(at)aurora(dot)regenstrief(dot)org>
To: Shanker <kalyanshanky(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Parsing XML data into PostgreSQL using PHP
Date: 2002-06-25 19:09:20
Message-ID: 3D18BFE0.3030306@aurora.regenstrief.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shanker wrote:

> It would be great helpful for me to know, how to parse the data which
> in xml format (.xml) into PostgreSQL using PHP or in any other way.
>
> Scenario: I have the data in .xml format with properly defined tag. I
> want to upload the data into postgreSQL. Can i use PHP ? if So I want
> to know the syntax / reference (URL..). If PHP is not ideal one,
> suggest me some other way to proceed.

I don't know about PHP, but when it comes to XML processing I'm
a believer in XSLT. You can use JDBC from Java-based XSLT processors
(e.g. saxon, xalan.)

good luck,
-Gunther

--
Gunther Schadow, M.D., Ph.D. gschadow(at)regenstrief(dot)org
Medical Information Scientist Regenstrief Institute for Health Care
Adjunct Assistant Professor Indiana University School of Medicine
tel:1(317)630-7960 http://aurora.regenstrief.org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Burke 2002-06-25 19:21:48 Re: indexes greatly slowing data entry
Previous Message Nigel J. Andrews 2002-06-25 18:46:25 Re: Advocacy Idea.