Re: what is way to specify a DOCTYPE for output from SQL/XML

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: what is way to specify a DOCTYPE for output from SQL/XML
Date: 2011-05-10 16:28:36
Message-ID: BANLkTi=9YP9dqSn7nYQkvu6XF0xtobXC1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2011/5/10 John R Pierce <pierce(at)hogranch(dot)com>:
> On 05/10/11 9:07 AM, Pavel Stehule wrote:
>>
>> Hello
>>
>> I would to append a doctype declaration to result of xmlelement function.
>
> like,
>
>    select '<!DOCTYPE........>' || xmlelement(....) ....

yes, it is simple way. I am interesting about using SQL/XML functionality

Regards

Pavel Stehule

>
>
> ?
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Seb 2011-05-10 18:12:14 temporarily disabling foreign keys
Previous Message John R Pierce 2011-05-10 16:25:36 Re: what is way to specify a DOCTYPE for output from SQL/XML