This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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




----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]