Re: Code examples

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Code examples
Дата
Msg-id 200709041704.09380.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Code examples  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
Am Dienstag, 4. September 2007 16:11 schrieb Tom Lane:
> &, <, and > need to be hacked so that SGML doesn't barf on them.
> Unfortunately, all three symbols are a bit commonplace in C code.

I assume that someone who wants to try out the code would copy it from the
HTML, not out of the SGML source.

But in any case you can avoid the escaping like so:

<![CDATA[
... code ...
]]>

Grep for existing uses.

The idea of including the C files directly could also work.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

В списке pgsql-docs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Code examples
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Code examples