This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Need help including c source
- To: Peter Eisentraut <peter_e at gmx dot net>
- Subject: Re: DOCBOOK-APPS: Need help including c source
- From: Eric Richardson <eric dot richardson at milagrosoft dot com>
- Date: Thu, 18 Oct 2001 17:15:17 -0700
- Cc: docbook <docbook-apps at lists dot oasis-open dot org>
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: MilagroSoft Inc.
- References: <Pine.LNX.4.30.0110182150500.633-100000@peter.localdomain>
Peter Eisentraut wrote:
> 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>
This didn't work in XML. I tried the NDATA route but that didn't work.
I'm trying the extension route for now.
Thanks,
Eric
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>