X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 53C9C9FA3AD for ; Wed, 7 Jun 2006 15:32:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 59348-03 for ; Wed, 7 Jun 2006 15:32:26 -0300 (ADT) X-Greylist: delayed 00:05:01.961605 by SQLgrey- Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [216.148.227.153]) by postgresql.org (Postfix) with ESMTP id 692F59FA2E6 for ; Wed, 7 Jun 2006 15:32:25 -0300 (ADT) Received: from andy (c-68-52-221-224.hsd1.tn.comcast.net[68.52.221.224]) by comcast.net (rwcrmhc13) with SMTP id <20060607182722m13001v90ne>; Wed, 7 Jun 2006 18:27:22 +0000 From: "John Mohr" To: Subject: Conventions for XML? Date: Wed, 7 Jun 2006 13:26:11 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009A_01C68A35.F1764E80" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/6 X-Sequence-Number: 3531 This is a multi-part message in MIME format. ------=_NextPart_000_009A_01C68A35.F1764E80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have undertaken a project which causes me to want to store XML in Pg. I want to store and retrieve it and convert to HTML (actually, XHTML) either as a function of storing it or on the fly (probably the latter) via XSL. Are there any conventions that people use for this? Like, what does the table look like (varchar(?) or text?). I've looked at the contrib directories in Pg and the xml2 looks like it assumes that it is already stored. The xml drectory says that it is deprecated. Any pointers would be helpful. John Mohr ------=_NextPart_000_009A_01C68A35.F1764E80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have = undertaken a=20 project which causes me to want to store XML in Pg. I want to store and = retrieve=20 it and convert to HTML (actually, XHTML) either as a function of storing = it or=20 on the fly (probably the latter) via XSL. Are there any conventions that = people=20 use for this? Like, what does the table look like (varchar(?) or text?). = I've=20 looked at the contrib directories in Pg and the xml2 looks like it = assumes that=20 it is already stored. The xml drectory says that it is deprecated. Any = pointers=20 would be helpful.
 
John=20 Mohr
------=_NextPart_000_009A_01C68A35.F1764E80--