Re: DOCBOOK-APPS: Need help including c source

From
Eric Richardson <>
Date
2001-10-19T00:17:40+00:00
ID
Thread
Re: DOCBOOK-APPS: Need help including c source
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