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


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>


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