Re: [PATCHES] XML ouput for psql - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] XML ouput for psql
Date
Msg-id Pine.LNX.4.44.0303031752340.2513-100000@peter.localdomain
Whole thread Raw
Responses Re: [PATCHES] XML ouput for psql  (cbbrowne@cbbrowne.com)
Re: XML ouput for psql  (greg@turnstep.com)
List pgsql-hackers
greg@turnstep.com writes:

> I don't agree with this: XML and XHTML are two different things.

No one claimed anything to the contrary.

> We could certainly upgrade the HTML portion, but I am pretty sure that
> the XML standard calls for this format:
>
> <columnname>data here</columnname>

The XML standard does not call for any table format.  But a number of
table formats have been established within the XML framework.  Some of
them are formatting-oriented (e.g., the HTML model, or CALS which is used
in DocBook) and some of them are processing-oriented (e.g., SQL/XML).
Which do we need?  And which do we need from psql in particular (keeping
in mind that psql is primarily for interactive use and shell-scripting)?
In any case, it should most likely be a standard table model and not a
hand-crafted one.

(If, for whatever reason, we go the "processing-oriented" route, then I
claim that there should not be a different output with and without \x
mode.)

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Brandon Craig Rhodes
Date:
Subject: Re: problem importing languages in CVS tip
Next
From: "scott.marlowe"
Date:
Subject: Re: Yet another open-source benchmark