Обсуждение: SPARQL
Looks like there's a standard XML way of returning query results: http://www.w3.org/TR/2005/WD-rdf-sparql-XMLres-20050801/ Chris
Am Donnerstag, 11. August 2005 04:33 schrieb Christopher Kings-Lynne: > Looks like there's a standard XML way of returning query results: > > http://www.w3.org/TR/2005/WD-rdf-sparql-XMLres-20050801/ This is for RDF queries, not for SQL queries. For SQL, the SQL/XML standard gives you a "standard" XML format for table representation. I have some code for that if anyone is interested. I will put that up on pgFoundry one of these days.
> This is for RDF queries, not for SQL queries. For SQL, the SQL/XML standard > gives you a "standard" XML format for table representation. I have some code > for that if anyone is interested. I will put that up on pgFoundry one of > these days. I'm interested in the SQL format so that I can implement it in phpPgAdmin - can you give me an example, or docs on it? Chris
On Mon, Aug 15, 2005 at 09:53:18AM +0800, Christopher Kings-Lynne wrote: > >This is for RDF queries, not for SQL queries. For SQL, the SQL/XML > >standard gives you a "standard" XML format for table > >representation. I have some code for that if anyone is interested. > >I will put that up on pgFoundry one of these days. > > I'm interested in the SQL format so that I can implement it in > phpPgAdmin - can you give me an example, or docs on it? It's in 5WD-14-XML-2003-09.pdf which is available at http://wiscorp.com/SQLStandards.html Cheers, D -- David Fetter david@fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote!