[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] including a file as CDATA
On Tue, Oct 21, 2003 at 07:37:29PM +0200, Jens Skripczynski wrote:
> hi,
>
> I'm writing a small programming tutorial, that includes many code examples.
> They make it harder to read the main document, so I thought about excluding
> them, and include them later with an entity, but entities inside a CDATA
> section are printed as is, but the programs themselves need to be inside one.
>
> Has somebody got an idea / workaround for including files, that are
> outputed without any changes (java source files and xml files).
You don't have to use CDATA for external code files. See:
http://www.sagehill.net/docbookxsl/ProgramListings.html#ExternalCode
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]