This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Need help including c source
- To: Eric Richardson <eric dot richardson at milagrosoft dot com>
- Subject: Re: DOCBOOK-APPS: Need help including c source
- From: Peter Eisentraut <peter_e at gmx dot net>
- Date: Thu, 18 Oct 2001 23:04:44 +0200 (CEST)
- Cc: docbook <docbook-apps at lists dot oasis-open dot org>
- List-Id: <docbook-apps.lists.oasis-open.org>
Eric Richardson writes:
> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
> "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
> <!ENTITY myfunc SYSTEM "myfunc.c">
> ]>
> <chapter>
> <title>Exceptions</title>
>
> <programlisting>
> <![CDATA[&myfunc;]]>
> </programlisting>
>
> </chapter>
>
> If I leave out the CDATA then it won't parse.
Try
<!ENTITY myfunc SYSTEM "myfunc.c" CDATA>
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>