Re: Code examples - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Code examples
Date
Msg-id 200709041704.09380.peter_e@gmx.net
Whole thread Raw
In response to Re: Code examples  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Code examples
Next
From: Tom Lane
Date:
Subject: Re: Code examples