OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC